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
1 changed files with 1 additions and 1 deletions

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