fix: set owner email visibility when editing podcast

fixes #473
This commit is contained in:
Yassine Doghri 2024-04-28 10:16:23 +00:00
parent 51b064d67a
commit fc4f982556
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,9 @@ class PodcastController extends BaseController
$this->podcast->publisher = $this->request->getPost('publisher');
$this->podcast->owner_name = $this->request->getPost('owner_name');
$this->podcast->owner_email = $this->request->getPost('owner_email');
$this->podcast->is_owner_email_removed_from_feed = $this->request->getPost(
'is_owner_email_removed_from_feed'
) === 'yes';
$this->podcast->type = $this->request->getPost('type');
$this->podcast->medium = $this->request->getPost('medium');
$this->podcast->copyright = $this->request->getPost('copyright');