diff --git a/example-views/phundament/app/layouts/main.php b/example-views/phundament/app/layouts/main.php index 68ed6cd..7aa21d0 100644 --- a/example-views/phundament/app/layouts/main.php +++ b/example-views/phundament/app/layouts/main.php @@ -97,7 +97,9 @@
  • \Yii::$app->user->identity->email, + 'email' => (\Yii::$app->user->identity->profile->gravatar_email === null) + ? \Yii::$app->user->identity->email + : \Yii::$app->user->identity->profile->gravatar_email, 'options' => [ 'alt' => \Yii::$app->user->identity->username ],