summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class3
1 files changed, 2 insertions, 1 deletions
diff --git a/it.class b/it.class
index c219f19..5b83317 100644
--- a/it.class
+++ b/it.class
@@ -704,7 +704,8 @@ static function shell_command($cmd, ...$args)
else
{
foreach ((array)$values[$key] as $value)
- $parts[] = it::_exec_quotevalue($value, "cmd=$cmd key=$key val=$value");
+ if ($value !== false)
+ $parts[] = it::_exec_quotevalue($value, "cmd=$cmd key=$key val=$value");
}
$replacements[$tag] = implode(" ", $parts);