1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-10 11:25:04 -05:00

[fix] Use of undefined constant ATOM #604

This commit is contained in:
Nicolas Lœuillet 2014-04-06 16:21:48 +02:00
parent d7ee9f986b
commit 29d9c0ffe1

View File

@ -193,7 +193,7 @@ define('JSONP', 3, true);
*/ */
public function setDescription($desciption) public function setDescription($desciption)
{ {
$tag = ($this->version == ATOM)? 'subtitle' : 'description'; $tag = 'description';
$this->setChannelElement($tag, $desciption); $this->setChannelElement($tag, $desciption);
} }