mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-06-16 15:01:08 +03:00
Fixing silly parameter miss match in db:migrate
This commit is contained in:
parent
4c8daa7179
commit
f9378730ba
|
@ -201,7 +201,7 @@ class Minion_Task_Db_Migrate extends Minion_Task
|
|||
if($version === 'TRUE' OR $version == 'FALSE')
|
||||
return $version === 'TRUE';
|
||||
|
||||
if(strpos(':', $version) !== FALSE)
|
||||
if(strpos($version, ':') !== FALSE)
|
||||
return explode(':', $version);
|
||||
|
||||
throw new Kohana_Exception('Invalid target version :version', array(':version' => $version));
|
||||
|
|
Loading…
Reference in a new issue