Skip to content

Commit

Permalink
Return string when no item is active
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurian Sluiman committed Apr 23, 2013
1 parent 9a2bb4a commit 839e18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/View/Helper/SubMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __toString()
$menu->setRenderInvisible($flag);

if (!$active) {
return;
return '';
}

$container = $active['page'];
Expand Down

0 comments on commit 839e18c

Please sign in to comment.