mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Phone numbers are all now formatted correctly per their length
This commit is contained in:
@@ -101,14 +101,14 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
|
||||
}else{
|
||||
$contact_title_display = $contact_title;
|
||||
}
|
||||
$contact_phone = $row['contact_phone'];
|
||||
$contact_phone = formatPhoneNumber($row['contact_phone']);
|
||||
if(empty($contact_phone)){
|
||||
$contact_phone_display = "-";
|
||||
}else{
|
||||
$contact_phone_display = "$contact_phone";
|
||||
}
|
||||
$contact_extension = $row['contact_extension'];
|
||||
$contact_mobile = $row['contact_mobile'];
|
||||
$contact_mobile = formatPhoneNumber($row['contact_mobile']);
|
||||
if(empty($contact_mobile)){
|
||||
$contact_mobile_display = "-";
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user