diff options
Diffstat (limited to 'it.class')
| -rw-r--r-- | it.class | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -622,7 +622,7 @@ static function _exec_quotevalue($value, $errmsg = "")   */  static function cexec(/* $cmd, $values1 = array(), ... */)  { -	return it::exec('cdist -c {CMD}', 'CMD' => call_user_func_array('it::shell_command', func_get_args())); +	return it::exec('cdist -c {CMD}', array('CMD' => call_user_func_array('it::shell_command', func_get_args())));  } @@ -636,7 +636,7 @@ static function cdist(/* $file1, ... */)  	foreach (func_get_args() as $arg)  		$files = array_merge((array)$files, (array)$arg); -	return it::exec('cdist {FILES}', 'FILES' => $files); +	return it::exec('cdist {FILES}', array('FILES' => $files));  }  |