Commit 31443b77 authored by sylvieg's avatar sylvieg

a little error message if the rss that is read is not valid xml

parent aaaf6388
......@@ -102,6 +102,7 @@ class RSSLib extends TikiLib {
if (!xml_parse($this->parser, $data, 1)) {
print("Xml error: ".xml_error_string(xml_get_error_code($this->parser))."<br />");
return $news;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment