commit | 34cadee670f79d67942e4d8f87557c1a0b2916bc | [log] [tgz] |
---|---|---|
author | Dimitar <dimitar@bukisa.com> | Sat Nov 24 13:13:07 2012 +0200 |
committer | Dimitar <dimitar@bukisa.com> | Sat Nov 24 13:13:07 2012 +0200 |
tree | 151472e725d2cac2c94f123652ba25b4f0b23442 | |
parent | a815dbf595397743dacf4aef2bfbab5d19448797 [diff] [blame] |
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;