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();
 	}
 
 }