From 727947ce0d55b6d92205ebb083b3eee562051b1a Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 29 Mar 2024 18:49:29 +0100 Subject: prevent warning on U(0 => ["a"]) --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3