1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

Merge pull request #605 from wallabag/fix-604

[fix] Use of undefined constant ATOM #604
This commit is contained in:
Nicolas Lœuillet 2014-04-06 16:22:57 +02:00
commit 2dd5c1e4a3

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);
}