summaryrefslogtreecommitdiffstats
path: root/system/libraries/Migration.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-12-31 19:41:18 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-12-31 19:41:18 +0100
commit719ac70845b096e3939aa8d8e3cd9806fdb53b85 (patch)
treedf9a15be2be0ff50eaeb9f3f7a77867143376430 /system/libraries/Migration.php
parenta7de97e74cbfe21cd2606c2253134a3bc8dda1f7 (diff)
parentd268eda6c2b502cc7fa352072482d1924e36127e (diff)
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop
Diffstat (limited to 'system/libraries/Migration.php')
-rw-r--r--system/libraries/Migration.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php
index eb5161d76..f89391c0d 100644
--- a/system/libraries/Migration.php
+++ b/system/libraries/Migration.php
@@ -322,7 +322,7 @@ class CI_Migration {
*/
protected function _get_version()
{
- $row = $this->db->get($this->_migration_table)->row();
+ $row = $this->db->select('version')->get($this->_migration_table)->row();
return $row ? $row->version : 0;
}