Skip to content

Commit

Permalink
+ conditional domains count
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Sep 10, 2015
1 parent c423552 commit dd6869b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/TicketController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function actions()
'client' => Client::find()->where([
'id' => $action->model->author_id,
'with_contact' => 1,
'with_domains_count' => 1,
'with_domains_count' => Yii::getAlias('@domain', false) ? 1 : 0,
'with_servers_count' => 1,
'with_hosting_count' => 1,
])->one(),
Expand Down

0 comments on commit dd6869b

Please sign in to comment.