diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Migration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php index 9185adff1..9af4a8297 100644 --- a/system/libraries/Migration.php +++ b/system/libraries/Migration.php @@ -189,7 +189,7 @@ class CI_Migration { if ($this->_migration_type === 'sequential') { - $target_version = str_pad($target_version, 3, '0', STR_PAD_LEFT); + $target_version = sprintf('%03d', $target_version); } else { |