Update fax_send.php

This commit is contained in:
FusionPBX 2019-06-19 08:12:40 -06:00 committed by GitHub
parent 83817d53f3
commit 80d437b736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -991,7 +991,9 @@ if (!$included) {
$contact_values[] = $contact_option_value_faxnumber."|".$contact_option_value_recipient;
unset($contact_option_label);
}
asort($contact_labels, SORT_NATURAL); // sort by name(s)
if (is_array($contact_labels)) {
asort($contact_labels, SORT_NATURAL); // sort by name(s)
}
echo " <select class='formfld' style='display: none;' id='fax_recipient_select' onchange='contact_load(this);'>\n";
echo " <option value=''></option>\n";
foreach ($contact_labels as $index => $contact_label) {