Skip to content

Commit

Permalink
Fix 5.3 array.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Spraggs committed Feb 11, 2014
1 parent 0b884d5 commit c0010f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SpiffyNavigation/Service/Navigation.php
Expand Up @@ -351,7 +351,7 @@ public function getIsActiveRecursion()
*/
protected function paramsAreEqual($pageParams, $routeParams)
{
foreach (['__CONTROLLER__', '__NAMESPACE__', 'controller', 'action'] as $unsetKey) {
foreach (array('__CONTROLLER__', '__NAMESPACE__', 'controller', 'action') as $unsetKey) {
if (isset($routeParams[$unsetKey])) {
unset($routeParams[$unsetKey]);
}
Expand Down

0 comments on commit c0010f4

Please sign in to comment.