Skip to content

Commit

Permalink
Fix to HtmlHelpers::image function
Browse files Browse the repository at this point in the history
  • Loading branch information
setola committed Dec 18, 2012
1 parent effdb5e commit 9bb5cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HtmlHelper.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function script($content, $parms=array()){
*/
public static function image($src, $parms=array()){
$parms['src'] = esc_attr($src);
return self::standard_tag('img');
return self::standard_tag('img', '', $parms);
}

/**
Expand Down

0 comments on commit 9bb5cbf

Please sign in to comment.