From 817516adc5eed7b90c81ef04d34c7003b679ab2e Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 10 Oct 2013 14:14:30 +0400 Subject: [PATCH] Added missing return --- framework/yii/db/ActiveQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)