diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-06-03 17:36:45 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-06-03 17:36:45 +0200 |
commit | 142b618fb7419972288a8f7b58e7e2509b3bf225 (patch) | |
tree | 53566bfe94a12e7fb2e28ec4122dfa6732f25a64 /system/libraries/Migration.php | |
parent | dda21f6abc76451997b12c07e6066aa49c2d423d (diff) | |
parent | 0c5180bcfc996f32176f28895e9bd75be582c4fa (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop
Diffstat (limited to 'system/libraries/Migration.php')
-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 0a88e6926..4391b235d 100644 --- a/system/libraries/Migration.php +++ b/system/libraries/Migration.php @@ -109,7 +109,7 @@ class CI_Migration { } // If not set, set it - $this->_migration_path != '' OR $this->_migration_path = APPPATH.'migrations/'; + $this->_migration_path !== '' OR $this->_migration_path = APPPATH.'migrations/'; // Add trailing slash if not set $this->_migration_path = rtrim($this->_migration_path, '/').'/'; @@ -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)); |