summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/language/english/migration_lang.php2
-rw-r--r--system/libraries/Migration.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/language/english/migration_lang.php b/system/language/english/migration_lang.php
index 9e3e18807..af920660c 100644
--- a/system/language/english/migration_lang.php
+++ b/system/language/english/migration_lang.php
@@ -26,7 +26,7 @@
*/
$lang['migration_none_found'] = "No migrations were found.";
-$lang['migration_not_found'] = "This migration could not be found.";
+$lang['migration_not_found'] = "No migration could be found with the version number: %d.";
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could not be found.";
$lang['migration_missing_up_method'] = "The migration class \"%s\" is missing an 'up' method.";
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php
index 4391b235d..3a1e7a0ad 100644
--- a/system/libraries/Migration.php
+++ b/system/libraries/Migration.php
@@ -179,7 +179,7 @@ class CI_Migration {
// We now prepare to actually DO the migrations
// But first let's make sure that everything is the way it should be
- for ($i = $start; $i !== $stop; $i += $step)
+ for ($i = $start; $i != $stop; $i += $step)
{
$f = glob(sprintf($this->_migration_path.'%03d_*.php', $i));