commit | ad5f1d032fb3204bc1b81891a3231ae8ac47392b | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Sat Nov 24 06:15:35 2012 -0800 |
committer | Andrey Andreev <narf@bofh.bg> | Sat Nov 24 06:15:35 2012 -0800 |
tree | 151472e725d2cac2c94f123652ba25b4f0b23442 | |
parent | a815dbf595397743dacf4aef2bfbab5d19448797 [diff] | |
parent | 34cadee670f79d67942e4d8f87557c1a0b2916bc [diff] |
Merge pull request #2028 from tocaibiza/develop Bug fix - optimize_table() in DB utility class
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index a32fd44..c4140ae 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php
@@ -146,7 +146,7 @@ if ($query !== FALSE) { $query = $query->result_array(); - return current($res); + return current($query); } return FALSE;