From d4b91166bc7d8c4a4f5f51f0f1d83eff170525d6 Mon Sep 17 00:00:00 2001 From: Lucas Freitas Date: Mon, 3 Mar 2014 05:10:21 -0300 Subject: [PATCH] Fixing stupidity and adding the PHPDoc param --- lib/Cake/View/Helper/HtmlHelper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Cake/View/Helper/HtmlHelper.php b/lib/Cake/View/Helper/HtmlHelper.php index 7bfc51878..219345371 100644 --- a/lib/Cake/View/Helper/HtmlHelper.php +++ b/lib/Cake/View/Helper/HtmlHelper.php @@ -753,6 +753,7 @@ class HtmlHelper extends AppHelper { * Prepends startText to crumbs array if set * * @param string $startText Text to prepend + * @param boolean $escape If the output should be escaped or not * @return array Crumb list including startText (if provided) */ protected function _prepareCrumbs($startText, $escape = true) { @@ -767,7 +768,7 @@ class HtmlHelper extends AppHelper { $startText += array('url' => '/', 'text' => __d('cake', 'Home')); list($url, $text) = array($startText['url'], $startText['text']); unset($startText['url'], $startText['text']); - array_unshift($crumbs, array($text, $url, $startText + array('escape' => $escape)); + array_unshift($crumbs, array($text, $url, $startText + array('escape' => $escape))); } return $crumbs; }