mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Refactor cleanly.
This commit is contained in:
parent
2d7487d33c
commit
7dedf7f86d
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ class HtmlHelper extends AppHelper {
|
|||
'submit' => '<input%s/>',
|
||||
'submitimage' => '<input type="image" src="%s"%s/>',
|
||||
'button' => '<button%s>%s</button>',
|
||||
'image' => '<img src="%s" %s/>',
|
||||
'image' => '<img src="%s"%s/>',
|
||||
'tableheader' => '<th%s>%s</th>',
|
||||
'tableheaderrow' => '<tr%s>%s</tr>',
|
||||
'tablecell' => '<td%s>%s</td>',
|
||||
|
@ -828,7 +828,7 @@ class HtmlHelper extends AppHelper {
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue