Skip to content

Commit

Permalink
+ check if @Domain exists
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Sep 4, 2015
1 parent ba31269 commit 93c5d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function actionIndex()
return $this->render('index', ['model' => ClientController::findModel([
'id' => Yii::$app->user->identity->id,
'with_tickets_count' => 1,
'with_domains_count' => 1,
'with_domains_count' => Yii::getAlias('@domain', false) ? 1 : 0,
'with_servers_count' => 1,
'with_hosting_count' => 1,
'with_contacts_count' => 1,
Expand Down

0 comments on commit 93c5d58

Please sign in to comment.