Permalink
Browse files

Bug fix - optimize_table() in DB utility class

  • Loading branch information...
1 parent a815dbf commit 34cadee670f79d67942e4d8f87557c1a0b2916bc @dmmihaylov dmmihaylov committed Nov 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/database/DB_utility.php
@@ -146,7 +146,7 @@ public function optimize_table($table_name)
if ($query !== FALSE)
{
$query = $query->result_array();
- return current($res);
+ return current($query);
}
return FALSE;

0 comments on commit 34cadee

Please sign in to comment.