From: Nicolas LÅ“uillet Date: Sun, 6 Apr 2014 14:21:48 +0000 (+0200) Subject: [fix] Use of undefined constant ATOM #604 X-Git-Tag: 1.6.1b^2~11^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F605%2Fhead;p=github%2Fwallabag%2Fwallabag.git [fix] Use of undefined constant ATOM #604 --- diff --git a/inc/3rdparty/libraries/feedwriter/FeedWriter.php b/inc/3rdparty/libraries/feedwriter/FeedWriter.php index 5d16e765..3f95372d 100755 --- a/inc/3rdparty/libraries/feedwriter/FeedWriter.php +++ b/inc/3rdparty/libraries/feedwriter/FeedWriter.php @@ -193,7 +193,7 @@ define('JSONP', 3, true); */ public function setDescription($desciption) { - $tag = ($this->version == ATOM)? 'subtitle' : 'description'; + $tag = 'description'; $this->setChannelElement($tag, $desciption); }