Code

Fixecd exec call.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Aug 2008 09:34:36 +0000 (09:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Aug 2008 09:34:36 +0000 (09:34 +0000)
-Accidentally added reference test.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12230 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index 2adbf492fe11cf12052b9a0f7a71230da8514345..31d5b4bafd80e2c155c2852626394c08e60b80f1 100644 (file)
@@ -636,7 +636,7 @@ class plugin
       if (check_command($command)){
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Execute");
-        exec($command,&$arr);
+        exec($command,$arr);
         foreach($arr as $str){
           @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Result: ".$str);
@@ -677,7 +677,7 @@ class plugin
 
       if (check_command($command)){
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,$command, "Execute");
-        exec($command,&$arr);
+        exec($command,$arr);
         foreach($arr as $str){
           @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Result: ".$str);
@@ -719,7 +719,7 @@ class plugin
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Execute");
 
-        exec($command,&$arr);
+        exec($command,$arr);
         foreach($arr as $str){
           @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Result: ".$str);