Skip to content
Snippets Groups Projects
Commit e3201630 authored by Dave Reid's avatar Dave Reid
Browse files

Fixing PHP strict error in _parser_common_syndication_atom10_parse().

parent 381131b2
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,8 @@ function _parser_common_syndication_atom10_parse($feed_XML) { ...@@ -97,7 +97,8 @@ function _parser_common_syndication_atom10_parse($feed_XML) {
"georss" => "http://www.georss.org/georss", "georss" => "http://www.georss.org/georss",
); );
$base = (string) array_shift($feed_XML->xpath("@base")); $base = $feed_XML->xpath("@base");
$base = (string) array_shift($base);
if (!valid_url($base, TRUE)) { if (!valid_url($base, TRUE)) {
$base = FALSE; $base = FALSE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment