Update perbaikan query custodian
This commit is contained in:
parent
fb9be5f40f
commit
9dc3bbcca5
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user