diff --git a/app/Console/Commands/FixImageHashes.php b/app/Console/Commands/FixImageHashes.php index f70c1f777..a91f649d4 100644 --- a/app/Console/Commands/FixImageHashes.php +++ b/app/Console/Commands/FixImageHashes.php @@ -57,7 +57,7 @@ public function handle() { $images = $images->concat(Rarity::where('has_image', 1)->whereNotNull('hash')->get()); $images = $images->concat(Shop::where('has_image', 1)->whereNotNull('hash')->get()); $images = $images->concat(Species::where('has_image', 1)->whereNotNull('hash')->get()); - $images = $images->concat(Subtype::where('has_image', 1)->whereNull('hash')->get()); + $images = $images->concat(Subtype::where('has_image', 1)->whereNotNull('hash')->get()); if ($images->count()) { $this->line('Updating images...');