summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-08-01 10:37:04 +0200
committerGitHub <noreply@github.com>2016-08-01 10:37:04 +0200
commita4ed425b218942ed7e60d993325f592f5c24e59e (patch)
treec43c6ec38eedf898435e3e882c8b9d21ac2a1890
parent12117be8293eff1a56b575ccc2e5d11c68c8cfcf (diff)
parent4a0ed97e26101bb5346972d2486668e1b5dfa561 (diff)
Merge pull request #4742 from masterklavi/db_fetch_object
Change ... for the sake of change
-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();
}
}