woops, broke the seeder

This commit is contained in:
Nabeel Shahzad 2017-12-04 15:52:57 -06:00
parent 3849b55c50
commit 715fd0d06b

View File

@ -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];
}