Passed
Branch master (ccb8e7)
by Sarah
05:57 queued 03:52
created
views/user/widgets/ProfileMenu.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.