Category label is broken on the board if there's a url in the description

This commit is contained in:
Frederic Guillot
2016-02-05 21:24:22 -05:00
parent 1bd96e8735
commit ffb8494fec
3 changed files with 5 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ class Url extends Base
*/
public function link($label, $controller, $action, array $params = array(), $csrf = false, $class = '', $title = '', $new_tab = false, $anchor = '')
{
return '<a href="'.$this->href($controller, $action, $params, $csrf, $anchor).'" class="'.$class.'" title="'.$title.'" '.($new_tab ? 'target="_blank"' : '').'>'.$label.'</a>';
return '<a href="'.$this->href($controller, $action, $params, $csrf, $anchor).'" class="'.$class.'" title=\''.$title.'\' '.($new_tab ? 'target="_blank"' : '').'>'.$label.'</a>';
}
/**