woops, broke the seeder
This commit is contained in:
parent
3849b55c50
commit
715fd0d06b
@ -20,7 +20,7 @@ class DatabaseSeeder extends Seeder
|
||||
public function run()
|
||||
{
|
||||
$env = App::environment();
|
||||
if(in_array($env, self::$seed_mapper, true)) {
|
||||
if(array_key_exists($env, self::$seed_mapper)) {
|
||||
$env = self::$seed_mapper[$env];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user