This commit is contained in:
Laurent Destailleur 2020-09-19 00:51:09 +02:00
parent f62d52f89a
commit 99c05f0923

View File

@ -356,7 +356,9 @@ class RssParser
if (!empty($rss->channel['title'])) $this->_title = (string) $rss->channel['title'];
//if (!empty($rss->channel['rss_description'])) $this->_description = (string) $rss->channel['rss_description'];
$this->_imageurl = $this->getAtomImageUrl($rss->channel);
if (is_array($rss->channel)) {
$this->_imageurl = $this->getAtomImageUrl($rss->channel);
}
}
if (!empty($conf->global->EXTERNALRSS_USE_SIMPLEXML)) {
$tmprss = xml2php($rss); $items = $tmprss['entry'];