Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #2028 from tocaibiza/develop

Bug fix - optimize_table() in DB utility class
  • Loading branch information...
commit ad5f1d032fb3204bc1b81891a3231ae8ac47392b 2 parents a815dbf + 34cadee
Andrey Andreev narfbg authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  system/database/DB_utility.php
2  system/database/DB_utility.php
@@ -146,7 +146,7 @@ public function optimize_table($table_name)
146 146 if ($query !== FALSE)
147 147 {
148 148 $query = $query->result_array();
149   - return current($res);
  149 + return current($query);
150 150 }
151 151
152 152 return FALSE;

0 comments on commit ad5f1d0

Please sign in to comment.
Something went wrong with that request. Please try again.