summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2024-03-29 18:49:29 +0100
committerUrban Müller2024-03-29 18:49:29 +0100
commit727947ce0d55b6d92205ebb083b3eee562051b1a (patch)
treef81413faa29c2619ae45fd8788fc01ace06d30ad
parentd030a6098f4a1ff0638c6d0c31f942a00ddd18e9 (diff)
downloaditools-727947ce0d55b6d92205ebb083b3eee562051b1a.tar.gz
itools-727947ce0d55b6d92205ebb083b3eee562051b1a.tar.bz2
itools-727947ce0d55b6d92205ebb083b3eee562051b1a.zip
prevent warning on U(0 => ["a"])
-rw-r--r--it_html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class
index c072051..a4a4ab5 100644
--- a/it_html.class
+++ b/it_html.class
@@ -36,7 +36,7 @@ function it_parse_args($args)
foreach ($arg as $key => $value)
{
if (is_int($key))
- $data .= it_taintcheck($value);
+ $data .= is_scalar($value) ? it_taintcheck($value) : "";
else
$p[$key] = $value;
}