summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it.class b/it.class
index 2ac8388..59b1ba8 100644
--- a/it.class
+++ b/it.class
@@ -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));
}