mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 06:49:14 +02:00
parent
9f00305844
commit
ad8b153f2a
2 changed files with 2 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ class Episode extends BaseController
|
|||
'podcast_id' => $this->podcast->id,
|
||||
'title' => $this->request->getPost('title'),
|
||||
'slug' => $this->request->getPost('slug'),
|
||||
'guid' => '',
|
||||
'enclosure' => $this->request->getFile('enclosure'),
|
||||
'description' => $this->request->getPost('description'),
|
||||
'image' => $this->request->getFile('image'),
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ class Episode extends Entity
|
|||
);
|
||||
}
|
||||
|
||||
public function setGuid($guid = null)
|
||||
public function setGuid(string $guid)
|
||||
{
|
||||
return $this->attributes['guid'] = empty($guid)
|
||||
? $this->getLink()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue