1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -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)
{
$tag = ($this->version == ATOM)? 'subtitle' : 'description';
$tag = 'description';
$this->setChannelElement($tag, $desciption);
}