Code

Cache password methods
[gosa.git] / gosa-core / include / class_plugin.inc
index 57fc5107d0b1493be47f47d40687ade74c39fdf9..588a9e0bef73c33fd103395fa4d766b48527dd65 100644 (file)
@@ -630,7 +630,7 @@ class plugin
       /* Additional attributes */
       foreach ($tmp as $name => $len){
         $value = $add_attrs[$name];
-        $command= preg_replace("/%$name/", "$value ", $command);
+        $command= preg_replace("/%$name/", "$value", $command);
       }
 
       if (check_command($command)){
@@ -669,7 +669,7 @@ class plugin
       /* Additional attributes */
       foreach ($tmp as $name => $len){
         $value = $add_attrs[$name];
-        $command= preg_replace("/%$name/", "$value ", $command);
+        $command= preg_replace("/%$name/", "$value", $command);
       }
 
       if (check_command($command)){
@@ -705,7 +705,7 @@ class plugin
       /* Additional attributes */
       foreach ($tmp as $name => $len){
         $value = $add_attrs[$name];
-        $command= preg_replace("/%$name/", "$value ", $command);
+        $command= preg_replace("/%$name/", "$value", $command);
       }
 
       if (check_command($command)){