From a797b7d09634c00a2c5e3f0fb232444743bf5710 Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Fri, 26 Jun 2026 23:49:32 +0530 Subject: [PATCH] Fix fhir_bundle_submit undefined push_to_gateway variable --- app/Controllers/Opd_prescription.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controllers/Opd_prescription.php b/app/Controllers/Opd_prescription.php index 1d1dc19..9bb6ce6 100644 --- a/app/Controllers/Opd_prescription.php +++ b/app/Controllers/Opd_prescription.php @@ -4651,6 +4651,7 @@ class Opd_prescription extends BaseController $opdId = (int) $this->request->getPost('opd_id'); $sessionId = (int) $this->request->getPost('opd_session_id'); $pushToGateway = (int) $this->request->getPost('push_to_gateway') === 1; + $pushToGateway = (int) $this->request->getPost('push_to_gateway') === 1; return $this->response->setJSON($this->regenerateFhirBundleInternal($opdId, $sessionId)); }