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];