From f2c0e13224fc821ec4951a4eae71aa54ee6a0d19 Mon Sep 17 00:00:00 2001 From: Ajil Date: Mon, 16 Apr 2012 19:58:52 +0530 Subject: [PATCH] Fixed the issue while displaying saved insurance in the case of new patient. Signed-off-by: Ajil --- myportal/soap_service/server_newpatient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myportal/soap_service/server_newpatient.php b/myportal/soap_service/server_newpatient.php index cf36645f0..3c7e8b10b 100644 --- a/myportal/soap_service/server_newpatient.php +++ b/myportal/soap_service/server_newpatient.php @@ -84,7 +84,7 @@ class newpatient{ $query=" select insd.*, ic.name as provider_name from insurance_data as insd " . "left join insurance_companies as ic on ic.id = insd.provider " . "where pid = ? and type =? order by date DESC limit 1 "; - array_push($data[1],$pid); + array_unshift($data[1],$pid); return array($query,$data[1]); break; // Entries pending for approval demo and documents. -- 2.11.4.GIT