diff options
-rw-r--r-- | system/libraries/Migration.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php index 71e0c6993..bb20c8473 100644 --- a/system/libraries/Migration.php +++ b/system/libraries/Migration.php @@ -185,11 +185,11 @@ class CI_Migration { public function version($target_version) { // Note: We use strings, so that timestamp versions work on 32-bit systems - $current_version = $this->_get_version(); + $current_version = $this->_get_version(); if ($this->_migration_type === 'sequential') { - $target_version = str_pad($target_version, 3, '0', STR_PAD_LEFT); + $target_version = str_pad($target_version, 3, '0', STR_PAD_LEFT); } else { |