diff --git a/classes/urlhelper.php b/classes/urlhelper.php index 22fe067d5b4dd5a07f0d5704066fd4c06f9cd544..2dfb22a5db17c4d4083d40dd675a28b1ce8e0121 100644 --- a/classes/urlhelper.php +++ b/classes/urlhelper.php @@ -92,7 +92,7 @@ class UrlHelper { return $rel_url; // allow some extra schemes for links with feed-specified content type i.e. enclosures } else if ($content_type && - is_array(self::EXTRA_SCHEMES_BY_CONTENT_TYPE[$content_type]) && + isset(self::EXTRA_SCHEMES_BY_CONTENT_TYPE[$content_type]) && in_array($rel_parts["scheme"], self::EXTRA_SCHEMES_BY_CONTENT_TYPE[$content_type])) { return $rel_url; // allow limited subset of inline base64-encoded images for IMG elements