diff --git a/widgets/SimpleNav.php b/widgets/SimpleNav.php
index <HASH>..<HASH> 100644
--- a/widgets/SimpleNav.php
+++ b/widgets/SimpleNav.php
@@ -66,7 +66,7 @@ class SimpleNav extends \yii\bootstrap\Widget
 		Html::addCssClass($this->options, 'nav');
 
 		//activate parents if desired
-		if ($this->activateParents) {
+		if ($this->activateItems) {
 			foreach ($this->items as &$item) {
 				$this->activateItems($item);
 			}
bugfix with using old varname in SimpleNav-widget