fix missing client extension var in client details page

This commit is contained in:
johnny@pittpc.com
2021-01-20 16:17:51 -05:00
parent e80135df3e
commit 35ad7f08d9
2 changed files with 6 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ if(isset($_GET['client_id'])){
if(strlen($client_phone)>2){
$client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4);
}
$client_extension = $row['client_extension'];
$client_mobile = $row['client_mobile'];
if(strlen($client_mobile)>2){
$client_mobile = substr($row['client_mobile'],0,3)."-".substr($row['client_mobile'],3,3)."-".substr($row['client_mobile'],6,4);