mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
I'm a tool, fix test and remove debug().
This commit is contained in:
parent
a3ddff4aa7
commit
c504fcfdf0
2 changed files with 1 additions and 2 deletions
|
@ -1865,7 +1865,6 @@ class HtmlHelperTest extends CakeTestCase {
|
||||||
'firstClass' => false,
|
'firstClass' => false,
|
||||||
'lastClass' => 'active'
|
'lastClass' => 'active'
|
||||||
));
|
));
|
||||||
debug($result);
|
|
||||||
$this->assertTags(
|
$this->assertTags(
|
||||||
$result,
|
$result,
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -703,7 +703,7 @@ class HtmlHelper extends AppHelper {
|
||||||
|
|
||||||
$crumbs = $this->_prepareCrumbs($startText);
|
$crumbs = $this->_prepareCrumbs($startText);
|
||||||
if (empty($crumbs)) {
|
if (empty($crumbs)) {
|
||||||
return '';
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = '';
|
$result = '';
|
||||||
|
|
Loading…
Reference in a new issue