diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-07-08 21:00:17 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-07-08 21:00:17 +0200 |
commit | 0db81b6c82c2f86a6e9da26ab5501ba65cb4c4e1 (patch) | |
tree | f071e97065c76c654b139740a9e781cbb2eae901 /system/database/DB_result.php | |
parent | 3d9cec94b7cfd621111cb31808b23a1b6eaccf65 (diff) |
Fix issue #1591
Diffstat (limited to 'system/database/DB_result.php')
-rw-r--r-- | system/database/DB_result.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index 94782b291..d44df6c02 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -144,7 +144,7 @@ class CI_DB_result { { $this->custom_result_object[$class_name][$i] = new $class_name(); - foreach ($this->$_data as $key => $value) + foreach ($this->{$_data}[$i] as $key => $value) { $this->custom_result_object[$class_name][$i]->$key = $value; } |