diff --git a/utils/schedulercli.php b/utils/schedulercli.php index 1cb4f6557..1f723ce66 100644 --- a/utils/schedulercli.php +++ b/utils/schedulercli.php @@ -129,7 +129,18 @@ foreach($tasks as $task) { if($params = $task->getParameter()) { foreach($params as $key=>$value) { $p = $taskobj->getAdditionalParamByName($key); - echo " ".$key.": ".($p['type'] == 'password' ? '********' : $value)."\n"; + echo " ".$key.": "; + switch($p['type']) { + case 'password': + echo '********'; + break; + default: + if(is_array($value)) + echo implode(', ', $value); + else + echo $value; + } + echo PHP_EOL; } } break;