diff --git a/app/Http/Controllers/BrowseController.php b/app/Http/Controllers/BrowseController.php index 46bd765f4..2ca5ba5eb 100644 --- a/app/Http/Controllers/BrowseController.php +++ b/app/Http/Controllers/BrowseController.php @@ -435,8 +435,12 @@ private function handleMasterlistSearch(Request $request, $query, $imageQuery, $ } foreach ($includedTags as $tag) { - if ($image->content_warnings && in_array($tag, $image->content_warnings)) { - return true; + if ($image->content_warnings) { + foreach ($image->content_warnings as $warning) { + if (strtolower($warning) == strtolower($tag)) { + return true; + } + } } }