diff --git a/classes/patreon_protect.php b/classes/patreon_protect.php index 2d65511..f5e01a9 100644 --- a/classes/patreon_protect.php +++ b/classes/patreon_protect.php @@ -307,7 +307,7 @@ public static function generateBlockedImagePlaceholder($patreon_level, $attachme // first, check if cached image exists: - if (file_exists(PATREON_PLUGIN_LOCKED_IMAGE_CACHE_DIR.'/'.$cached_filename) and isset($go)) { + if (file_exists(PATREON_PLUGIN_LOCKED_IMAGE_CACHE_DIR.'/'.$cached_filename)) { // Exists - serve the cached image: header('Content-Type: '.$mime_type);