summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_html.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index c91b54c..bc3f8e5 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -121,9 +121,9 @@ function myhtml($p = array())
function myimg($args)
{
- array_unshift($args, array('alt' => "ALT", 'bar' => "BAR"));
+ array_unshift($args, array('alt' => "ALT", 'bar' => "BAR"));
- return parent::img($args);
+ return parent::img(array_filter(it_parse_args($args)));
}
}