Update Patient create, perbaikan LinkTo tanpa array
This commit is contained in:
parent
7f49cf03b4
commit
51d9ac62cb
@ -89,7 +89,7 @@ class Patient extends Controller {
|
|||||||
->whereIn('InternalPID', $ids)
|
->whereIn('InternalPID', $ids)
|
||||||
->get()
|
->get()
|
||||||
->getResultArray();
|
->getResultArray();
|
||||||
$patient["LinkTo"] = $patientLinkTo == [] ? null : $patientLinkTo;
|
$patient["LinkTo"] = $patientLinkTo == [] ? null : $patientLinkTo[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
$patidt = $this->db->table('patidt')
|
$patidt = $this->db->table('patidt')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user