From fc4f9825568cd4384c5b3cfe972accd146548807 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Sun, 28 Apr 2024 10:16:23 +0000 Subject: [PATCH] fix: set owner email visibility when editing podcast fixes #473 --- modules/Admin/Controllers/PodcastController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/Admin/Controllers/PodcastController.php b/modules/Admin/Controllers/PodcastController.php index bb6ff352..1fd27d8d 100644 --- a/modules/Admin/Controllers/PodcastController.php +++ b/modules/Admin/Controllers/PodcastController.php @@ -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');