Browse code

More bugfixing

Benjamin Roth authored on19/05/2020 12:12:56
Showing1 changed files
... ...
@@ -77,7 +77,7 @@ class TemplateListener
77 77
 
78 78
       if ($strServices != '' && ($strCustomServices = trim($rootPage->cookieconsent_services_custom,"\t\n\r\0\x0B ,")) != '')
79 79
       {
80
-        $strServices = substr($strServices,0,-1).",".$strCustomServices;
80
+        $strServices = $strServices.",".$strCustomServices;
81 81
       } else if (($strCustomServices = trim($rootPage->cookieconsent_services_custom,"\t\n\r\0\x0B ,")) != '') {
82 82
         $strServices = "{".$strCustomServices."}";
83 83
       }