Commit 2ac6a2f4a8aa0bc49ec44f878cd977e889a8f023

Authored by Yarik
1 parent a86913e4

Comments fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
views/manage/index.php
... ... @@ -62,7 +62,7 @@
62 62 [
63 63 'attribute' => 'user_id',
64 64 'value' => function($model) {
65   - if (!empty($model->user_id)) {
  65 + if (!empty($model->user)) {
66 66 return $model->user->username . ' (id:' . $model->user->id . ')';
67 67 } else {
68 68 return $model->username . ' ' . $model->email . ' (Гость)';
... ...