Closed zeelot closed 13 years ago
Line 222 of Minion_Migration_Manager is using array_keys($installed) + array_keys($available) which overwrites keys and causes some migration files to 'vanish'. It should be written with Arr::merge() or array_merge().
Minion_Migration_Manager
array_keys($installed) + array_keys($available)
Arr::merge()
array_merge()
$all_migrations = array_merge(array_keys($installed), array_keys($available));
closed by f7a15027d9da198eaf6f677ee75b4f4d386cf703 - uses array_merge instead of + to prevent overwriting of migrations
Line 222 of
Minion_Migration_Manager
is usingarray_keys($installed) + array_keys($available)
which overwrites keys and causes some migration files to 'vanish'. It should be written withArr::merge()
orarray_merge()
.$all_migrations = array_merge(array_keys($installed), array_keys($available));