diff --git a/serviceapp/getDriverByPhone.php b/serviceapp/getDriverByPhone.php index ee13765..6727a3c 100644 --- a/serviceapp/getDriverByPhone.php +++ b/serviceapp/getDriverByPhone.php @@ -109,7 +109,10 @@ if ($stmt->rowCount() > 0) { if (isset($r['owner'])) $r['owner'] = $encryptionHelper->decryptData($r['owner']); if (isset($r['address'])) $r['address'] = $encryptionHelper->decryptData($r['address']); if (isset($r['vin'])) $r['vin'] = $encryptionHelper->decryptData($r['vin']); - unset($r['password']); + if (isset($r['accountBank'])) $r['accountBank'] = $encryptionHelper->decryptData($r['accountBank']); + if (isset($r['bankCode'])) $r['bankCode'] = $encryptionHelper->decryptData($r['bankCode']); + unset($r['password']); + } jsonSuccess($row);