Commit 1d8bef6c7e439fdc956bbad4ba52297918c2de7c
1 parent
f9e2ff5e
List
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
frontend/controllers/CabinetController.php
... | ... | @@ -133,11 +133,11 @@ |
133 | 133 | public function actionList() |
134 | 134 | { |
135 | 135 | $table = IntellectualProperty::find() |
136 | -// ->where( | |
137 | -// [ | |
138 | -// 'user_id' => \Yii::$app->user->identity->id, | |
139 | -// ] | |
140 | -// ) | |
136 | + ->where( | |
137 | + [ | |
138 | + 'user_id' => \Yii::$app->user->id, | |
139 | + ] | |
140 | + ) | |
141 | 141 | ->all(); |
142 | 142 | return $this->render( |
143 | 143 | 'list', | ... | ... |