mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-17 16:01:28 +02:00
fix: deprecation notice (#2656)
This commit is contained in:
parent
d6beb713b5
commit
91283f3a62
1 changed files with 5 additions and 1 deletions
|
@ -67,7 +67,11 @@ class AtomFormat extends FormatAbstract{
|
||||||
if (empty($entryContent))
|
if (empty($entryContent))
|
||||||
$entryContent = $entryTitle;
|
$entryContent = $entryTitle;
|
||||||
|
|
||||||
$entryAuthor = $this->xml_encode($item->getAuthor());
|
$entryAuthor = '';
|
||||||
|
if ($item->getAuthor()) {
|
||||||
|
$entryAuthor = $this->xml_encode($item->getAuthor());
|
||||||
|
}
|
||||||
|
|
||||||
$entryTitle = $this->xml_encode($entryTitle);
|
$entryTitle = $this->xml_encode($entryTitle);
|
||||||
$entryUri = $this->xml_encode($entryUri);
|
$entryUri = $this->xml_encode($entryUri);
|
||||||
$entryTimestamp = $this->xml_encode(gmdate(DATE_ATOM, $entryTimestamp));
|
$entryTimestamp = $this->xml_encode(gmdate(DATE_ATOM, $entryTimestamp));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue