summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-08-01 10:37:04 +0200
committerAndrey Andreev <narf@devilix.net>2016-08-01 10:37:47 +0200
commitac8541b99be74c2870699221efbe898f132217e3 (patch)
treeabbcda6c73228acd7d961a1d9a283c33475246a1 /system
parentacc6481807fc9cac56b7c1de16239d98af711575 (diff)
Merge pull request #4742 from masterklavi/db_fetch_object
Change ... for the sake of change
Diffstat (limited to 'system')
-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 d9d1fccc7..4e2429376 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -660,7 +660,7 @@ class CI_DB_result {
*/
protected function _fetch_object($class_name = 'stdClass')
{
- return array();
+ return new $class_name();
}
}