diff options
author | Andrew Dolgov <[email protected]> | 2013-04-20 01:38:06 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-20 01:38:06 +0400 |
commit | 9ce600c8018b6cfe7711f28fa46247f62f424379 (patch) | |
tree | de965e5f5fb907113053758615fb3258b7807f77 /include | |
parent | 6122c449abae6d6dfa5372580242b4abdf4d7a97 (diff) |
disable on subscription feed XML validation for the time being
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 6 |
1 files 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"; |