diff --git a/src/View/Helper/ActiveLinkHelper.php b/src/View/Helper/ActiveLinkHelper.php index 6296eaf..93c009c 100644 --- a/src/View/Helper/ActiveLinkHelper.php +++ b/src/View/Helper/ActiveLinkHelper.php @@ -158,7 +158,7 @@ class ActiveLinkHelper extends Helper { continue; } - if (!isset($targetKey, $current) || $targetValue != $current[$targetKey]) { + if (!isset($current[$targetKey]) || $targetValue != $current[$targetKey]) { return false; } }