mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 08:50:42 +00:00
Replace the rest of the getFallBack Functions with simple ?: '-'
This commit is contained in:
@@ -338,7 +338,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
} else {
|
||||
$contact_title_display = "<small class='text-secondary'>$contact_title</small>";
|
||||
}
|
||||
$contact_department = getFallBack(escapeHtml($row['contact_department']));
|
||||
$contact_department = escapeHtml($row['contact_department']) ?: '-';
|
||||
$contact_extension = escapeHtml($row['contact_extension']);
|
||||
if (empty($contact_extension)) {
|
||||
$contact_extension_display = "";
|
||||
|
||||
Reference in New Issue
Block a user