diff --git a/framework/yii/db/ActiveQuery.php b/framework/yii/db/ActiveQuery.php index 48af835..375e91f 100644 --- a/framework/yii/db/ActiveQuery.php +++ b/framework/yii/db/ActiveQuery.php @@ -227,7 +227,7 @@ class ActiveQuery extends Query */ public function indexBy($column) { - parent::indexBy($column); + return parent::indexBy($column); } private function createModels($rows)