From 9dc3bbcca5ee2d96c04ffba2801c1fc4d1a96001 Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Mon, 25 Aug 2025 09:06:09 +0700 Subject: [PATCH] Update perbaikan query custodian --- app/Controllers/Patient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Patient.php b/app/Controllers/Patient.php index 790a893..0912999 100644 --- a/app/Controllers/Patient.php +++ b/app/Controllers/Patient.php @@ -103,7 +103,7 @@ class Patient extends Controller { $patientCustodian = $this->db->table('patient') ->select('InternalPID, PatientID') - ->whereIn('InternalPID', (int) $InternalPID) + ->where('InternalPID', (int) $InternalPID) ->get() ->getResultArray(); $patient["Custodian"] = $patientCustodian == [] ? null : $patientCustodian[0];