From: hickert Date: Mon, 18 Aug 2008 09:35:43 +0000 (+0000) Subject: Fixecd exec call. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9b9d7b5d141cb215f27c5f8fc7fce04b4613161;p=gosa.git Fixecd exec call. -Accidentally added reference test. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12231 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index a17378c87..8c57c4419 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -561,7 +561,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); @@ -600,7 +600,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); @@ -639,7 +639,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);