diff options
author | Urban Müller | 2024-03-29 18:49:29 +0100 |
---|---|---|
committer | Urban Müller | 2024-03-29 18:49:29 +0100 |
commit | 727947ce0d55b6d92205ebb083b3eee562051b1a (patch) | |
tree | f81413faa29c2619ae45fd8788fc01ace06d30ad /it_html.class | |
parent | d030a6098f4a1ff0638c6d0c31f942a00ddd18e9 (diff) | |
download | itools-727947ce0d55b6d92205ebb083b3eee562051b1a.tar.gz itools-727947ce0d55b6d92205ebb083b3eee562051b1a.tar.bz2 itools-727947ce0d55b6d92205ebb083b3eee562051b1a.zip |
prevent warning on U(0 => ["a"])
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
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; } |