From 2ac6a2f4a8aa0bc49ec44f878cd977e889a8f023 Mon Sep 17 00:00:00 2001 From: yarik Date: Tue, 21 Mar 2017 12:39:34 +0200 Subject: [PATCH] Comments fix --- views/manage/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/manage/index.php b/views/manage/index.php index d24bf43..20c81f3 100755 --- a/views/manage/index.php +++ b/views/manage/index.php @@ -62,7 +62,7 @@ [ 'attribute' => 'user_id', 'value' => function($model) { - if (!empty($model->user_id)) { + if (!empty($model->user)) { return $model->user->username . ' (id:' . $model->user->id . ')'; } else { return $model->username . ' ' . $model->email . ' (Гость)'; -- libgit2 0.21.4