From 90cf156efacfbe84808cca243b1b2a955f6c4f10 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Wed, 10 Oct 2012 13:49:18 +0000 Subject: implement myimg in myhtml to have same behaviour with or without fasttag --- tests/it_html.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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))); } } -- cgit v1.2.3