Add a new item, Undefined variable: pubdate
Created by: dhoko
$feed->add(
'xxx',
$post->author,
URL::to('/' . $post->name),
$post->created_at,
'xxx',
'xxx'
);
It doesn't work. It comes from L148 Feed\Feed.php
.
$this->items[$k]['pubdate'] = $this->formatDate($pubdate, "rss");