From 1d8bef6c7e439fdc956bbad4ba52297918c2de7c Mon Sep 17 00:00:00 2001 From: yarik Date: Fri, 30 Dec 2016 15:00:41 +0200 Subject: [PATCH] List --- frontend/controllers/CabinetController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/controllers/CabinetController.php b/frontend/controllers/CabinetController.php index 7a8db02..389d594 100755 --- a/frontend/controllers/CabinetController.php +++ b/frontend/controllers/CabinetController.php @@ -133,11 +133,11 @@ public function actionList() { $table = IntellectualProperty::find() -// ->where( -// [ -// 'user_id' => \Yii::$app->user->identity->id, -// ] -// ) + ->where( + [ + 'user_id' => \Yii::$app->user->id, + ] + ) ->all(); return $this->render( 'list', -- libgit2 0.21.4