diff options
author | Urban Müller | 2021-03-29 17:26:59 +0200 |
---|---|---|
committer | Urban Müller | 2021-03-29 17:26:59 +0200 |
commit | 9bdb3cb5c665eab02b6e14345aeb4e69a20596c7 (patch) | |
tree | 4d15ab781c6245815335b788117243156db6fa4e /it.class | |
parent | 72b1b2091eb784b3f24dc415d44e865a455948c8 (diff) | |
download | itools-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.class | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |