commit | ac8541b99be74c2870699221efbe898f132217e3 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Aug 01 11:37:04 2016 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Aug 01 11:37:47 2016 +0300 |
tree | abbcda6c73228acd7d961a1d9a283c33475246a1 | |
parent | acc6481807fc9cac56b7c1de16239d98af711575 [diff] [blame] |
Merge pull request #4742 from masterklavi/db_fetch_object Change ... for the sake of change
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index d9d1fcc..4e24293 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php
@@ -660,7 +660,7 @@ */ protected function _fetch_object($class_name = 'stdClass') { - return array(); + return new $class_name(); } }