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