summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2021-03-29 17:26:59 +0200
committerUrban Müller2021-03-29 17:26:59 +0200
commit9bdb3cb5c665eab02b6e14345aeb4e69a20596c7 (patch)
tree4d15ab781c6245815335b788117243156db6fa4e /it.class
parent72b1b2091eb784b3f24dc415d44e865a455948c8 (diff)
downloaditools-9bdb3cb5c665eab02b6e14345aeb4e69a20596c7.tar.gz
itools-9bdb3cb5c665eab02b6e14345aeb4e69a20596c7.tar.bz2
itools-9bdb3cb5c665eab02b6e14345aeb4e69a20596c7.zip
remove => false args in it::exec, consistent with it_html
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);