diff options
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php b/vendor/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php index efb2dd489..69d6a2114 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php @@ -70,7 +70,7 @@ class Rss20 extends Writer // <description/> $description = $this->dom->createElement('description'); - $description->appendChild($this->dom->createTextNode(isset($this->description) ? $this->description : $this->title)); + $description->appendChild($this->dom->createTextNode($this->description ?: $this->title)); $channel->appendChild($description); // <pubDate/> |