diff --git a/app/Controllers/NotificationController.php b/app/Controllers/NotificationController.php index c59102e5..0d85df18 100755 --- a/app/Controllers/NotificationController.php +++ b/app/Controllers/NotificationController.php @@ -362,7 +362,7 @@ class NotificationController extends AdminController // Define upload path and attempt file upload $uploadFilePath = WRITEPATH . 'uploads/attachments'; $uploadedFile = $this->request->getFile('file'); - $fileName = file_Upload($uploadedFile, $uploadFilePath); // Assume file_Upload handles file saving + $fileName = file_Upload_for_lead($uploadedFile, $uploadFilePath); // Assume file_Upload handles file saving if ($fileName) { // Prepare data for insertion