1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-05-18 08:58:19 +03:00

Fixed a bug in db:migrate where you couldn't specify FALSE as a target version

This commit is contained in:
Matt Button 2010-12-30 03:58:43 +00:00
parent 6a90ec0c90
commit 7794e69fe8

View file

@ -191,7 +191,7 @@ class Minion_Task_Db_Migrate extends Minion_Task
if(is_bool($version))
return $version;
if($version === 'TRUE' OR $version == FALSE)
if($version === 'TRUE' OR $version == 'FALSE')
return $version === 'TRUE';
if(strpos(':', $version) !== FALSE)