diff --git a/lib/Cake/View/Helper/HtmlHelper.php b/lib/Cake/View/Helper/HtmlHelper.php index 2a3e02e55ff..ae5741136ef 100644 --- a/lib/Cake/View/Helper/HtmlHelper.php +++ b/lib/Cake/View/Helper/HtmlHelper.php @@ -71,7 +71,7 @@ class HtmlHelper extends AppHelper { 'submit' => '', 'submitimage' => '', 'button' => '%s', - 'image' => '', + 'image' => '', 'tableheader' => '%s', 'tableheaderrow' => '%s', 'tablecell' => '%s', @@ -828,7 +828,7 @@ public function image($path, $options = array()) { unset($options['url']); } - $image = sprintf($this->_tags['image'], $path, $this->_parseAttributes($options, null, '', ' ')); + $image = sprintf($this->_tags['image'], $path, $this->_parseAttributes($options, null, ' ', ' ')); if ($url) { return sprintf($this->_tags['link'], $this->url($url), null, $image);