summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-06-19 15:27:50 +0200
committerAndrey Andreev <narf@devilix.net>2019-06-19 15:27:50 +0200
commit10e70f02a5b0e3beb371e64374c0008d7bfdec49 (patch)
treee2979f2b78bac8093a02d96f59a40023db53e6d2 /system/database
parent590a844b9219670b08f88d023d8be95117de8da1 (diff)
Fix #5774
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_result.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
index 0dbac1633..ed5252d49 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -381,7 +381,7 @@ class CI_DB_result {
*/
public function custom_row_object($n, $type)
{
- isset($this->custom_result_object[$type]) OR $this->custom_result_object($type);
+ isset($this->custom_result_object[$type]) OR $this->custom_result_object[$type] = $this->custom_result_object($type);
if (count($this->custom_result_object[$type]) === 0)
{