summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it.class b/it.class
index 07398f3..7c6daf3 100644
--- a/it.class
+++ b/it.class
@@ -393,8 +393,8 @@ function exec(/* $cmd, $values1 = array(), ... */)
{
if ($value === true || $value === false || $value === null)
$parts[] = $value ? $key : "";
- else
- $parts[] = "$key " . it::_exec_quotevalue($value);
+ else foreach ((array)$value as $val)
+ $parts[] = "$key " . it::_exec_quotevalue($val);
}
}
else