diff options
Diffstat (limited to '3rdparty/SimplePie/library/SimplePie/Parser.php')
-rw-r--r-- | 3rdparty/SimplePie/library/SimplePie/Parser.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/3rdparty/SimplePie/library/SimplePie/Parser.php b/3rdparty/SimplePie/library/SimplePie/Parser.php index 47172d108..d698552ca 100644 --- a/3rdparty/SimplePie/library/SimplePie/Parser.php +++ b/3rdparty/SimplePie/library/SimplePie/Parser.php @@ -33,7 +33,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie - * @version 1.3 + * @version 1.3.1 * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue * @author Ryan Parman * @author Geoffrey Sneddon @@ -278,8 +278,12 @@ class SimplePie_Parser if (isset($attribs[SIMPLEPIE_NAMESPACE_XML]['base'])) { - $this->xml_base[] = $this->registry->call('Misc', 'absolutize_url', array($attribs[SIMPLEPIE_NAMESPACE_XML]['base'], end($this->xml_base))); - $this->xml_base_explicit[] = true; + $base = $this->registry->call('Misc', 'absolutize_url', array($attribs[SIMPLEPIE_NAMESPACE_XML]['base'], end($this->xml_base))); + if ($base !== false) + { + $this->xml_base[] = $base; + $this->xml_base_explicit[] = true; + } } else { |