@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | 'isActive' => (Yii::$app->controller->id == "profile" && Yii::$app->controller->action->id == "index"), |
41 | 41 | )); |
42 | 42 | |
43 | - if (Yii::$app->getController()->getUser()->profile->about != "") { |
|
43 | + if (Yii::$app->getController()->getUser()->profile->about != "") { |
|
44 | 44 | $this->addItem(array( |
45 | 45 | 'label' => Yii::t('UserModule.widgets_ProfileMenuWidget', 'About'), |
46 | 46 | 'group' => 'profile', |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | 'sortOrder' => 300, |
49 | 49 | 'isActive' => (Yii::$app->controller->id == "profile" && Yii::$app->controller->action->id == "about"), |
50 | 50 | )); |
51 | - } |
|
51 | + } |
|
52 | 52 | |
53 | 53 | parent::init(); |
54 | 54 | } |