Entire UL element was being outputted directly (escaped), added to the unset list and fixed

This commit is contained in:
Lucas Freitas 2014-03-03 05:28:59 -03:00
parent d4b91166bc
commit b522b1e724

View file

@ -719,7 +719,7 @@ class HtmlHelper extends AppHelper {
$lastClass = $options['lastClass']; $lastClass = $options['lastClass'];
$separator = $options['separator']; $separator = $options['separator'];
$escape = $options['escape']; $escape = $options['escape'];
unset($options['firstClass'], $options['lastClass'], $options['separator']); unset($options['firstClass'], $options['lastClass'], $options['separator'], $options['escape']);
$crumbs = $this->_prepareCrumbs($startText, $escape); $crumbs = $this->_prepareCrumbs($startText, $escape);
if (empty($crumbs)) { if (empty($crumbs)) {