Compare commits
No commits in common. "0e3a54a6c4057f2b5291b085be36f56177900d85" and "7dfcf9fdeaaa675bf8d19f3b9c2efe20e25611c2" have entirely different histories.
0e3a54a6c4
...
7dfcf9fdea
|
@ -320,13 +320,9 @@ class Parser
|
|||
$episode = new Episode();
|
||||
$episode->setTitle($item->get_title())
|
||||
->setDescription($item->get_description())
|
||||
->setAuthor($item->get_author()->get_name())
|
||||
->setLink($item->get_link());
|
||||
|
||||
$author = $item->get_author();
|
||||
if (!is_null($author)) {
|
||||
$episode->setAuthor($author->get_name());
|
||||
}
|
||||
|
||||
if ($this->config->shouldDefaultToToday()) {
|
||||
$episode->setPublishedDate(new \DateTime($item->get_date()));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user