mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
parent
9f00305844
commit
ad8b153f2a
@ -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…
x
Reference in New Issue
Block a user