Fix Recent Logins Log front not updating due to VAR name

This commit is contained in:
johnnyq
2021-08-31 13:24:33 -04:00
parent 2ec79ef014
commit e9336c1866
9 changed files with 29 additions and 54 deletions

View File

@@ -102,9 +102,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$contact_title_display = $contact_title;
}
$contact_phone = $row['contact_phone'];
if(strlen($contact_phone)>2){
$contact_phone = substr($row['contact_phone'],0,3)."-".substr($row['contact_phone'],3,3)."-".substr($row['contact_phone'],6,4);
}
if(empty($contact_phone)){
$contact_phone_display = "-";
}else{
@@ -112,9 +109,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
}
$contact_extension = $row['contact_extension'];
$contact_mobile = $row['contact_mobile'];
if(strlen($contact_mobile)>2){
$contact_mobile = substr($row['contact_mobile'],0,3)."-".substr($row['contact_mobile'],3,3)."-".substr($row['contact_mobile'],6,4);
}
if(empty($contact_mobile)){
$contact_mobile_display = "-";
}else{