commit | 46e216c2be69f0819d97f6bead167f28714e9d70 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Tue Apr 01 12:05:02 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Tue Apr 01 12:05:02 2014 +0300 |
tree | 914a09ba7abe9162b8ee4b08a07f1b9467133129 | |
parent | b749fab66f46176f54ea84b89ca5f5bac3b517a4 [diff] [blame] |
Optimize #2982
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php index 9185adf..9af4a82 100644 --- a/system/libraries/Migration.php +++ b/system/libraries/Migration.php
@@ -189,7 +189,7 @@ if ($this->_migration_type === 'sequential') { - $target_version = str_pad($target_version, 3, '0', STR_PAD_LEFT); + $target_version = sprintf('%03d', $target_version); } else {