Commit 1d8bef6c7e439fdc956bbad4ba52297918c2de7c

Authored by Yarik
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,11 +133,11 @@
133 public function actionList() 133 public function actionList()
134 { 134 {
135 $table = IntellectualProperty::find() 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 ->all(); 141 ->all();
142 return $this->render( 142 return $this->render(
143 'list', 143 'list',