From: hickert Date: Mon, 18 Aug 2008 09:34:36 +0000 (+0000) Subject: Fixecd exec call. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3f87862f25e683716f5294de713791736f4c5bb7;p=gosa.git Fixecd exec call. -Accidentally added reference test. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12230 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 2adbf492f..31d5b4baf 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -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);