Fix call forward Caller ID select (#4615)

Caller ID select for for call forward was not saving the selection and would default to NULL or ''
This commit is contained in:
Stephen Forster 2019-09-27 07:53:03 +02:00 committed by FusionPBX
parent 0f00f17706
commit fb75160b37
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@
if(strlen($caller_id_name) == 0){
$caller_id_name = $row['destination_description'];
}
echo " <option value='".escape($row["destination_uuid"])."' ".escape($selected).">".escape(format_phone($caller_id_number))." : ".escape($caller_id_name)."</option>\n";
echo " <option value='".escape($row["destination_uuid"])."' ".$selected.">".format_phone(escape($caller_id_number))." : ".escape($caller_id_name)."</option>\n";
}
echo " </select><br />\n";
echo $text['description-cid-number']."\n";