From a81ddaf6b76fe1886359a4b8765a1891d637feeb Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Wed, 10 Apr 2024 11:14:33 +0000 Subject: [PATCH] Notification : ps --- app/Controllers/Notifications.php | 2 -- app/Views/notifications_form.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Controllers/Notifications.php b/app/Controllers/Notifications.php index de014307..6e027bf6 100755 --- a/app/Controllers/Notifications.php +++ b/app/Controllers/Notifications.php @@ -92,11 +92,9 @@ class Notifications extends BaseController if ($doc_details->isValid()) { $doc_details->move($doc_path, $doc_name); $this->logger->info("Name After Upload".$doc_name); - $params->filename = $doc_name; $params->media_url = base_url().'public/uploads/'.$doc_name; $params->type = "media"; }else{ - $params->filename = $doc_name; $params->media_url = base_url().'public/uploads/'.$doc_name; $params->type = "media"; } diff --git a/app/Views/notifications_form.php b/app/Views/notifications_form.php index 4b2557b0..66f6c503 100644 --- a/app/Views/notifications_form.php +++ b/app/Views/notifications_form.php @@ -154,7 +154,7 @@
- +