From 9ce600c8018b6cfe7711f28fa46247f62f424379 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 Apr 2013 01:38:06 +0400 Subject: [PATCH] disable on subscription feed XML validation for the time being --- include/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/functions.php b/include/functions.php index e861193c2..8a414aec2 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1611,9 +1611,9 @@ $url = key($feedUrls); } - libxml_use_internal_errors(true); + /* libxml_use_internal_errors(true); $doc = new DOMDocument(); - $doc->loadXML(html_entity_decode($contents)); + $doc->loadXML($contents); $error = libxml_get_last_error(); libxml_clear_errors(); @@ -1621,7 +1621,7 @@ $error_message = format_libxml_error($error); return array("code" => 6, "message" => $error_message); - } + } */ if ($cat_id == "0" || !$cat_id) { $cat_qpart = "NULL";