mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Use the object format_address method
This commit is contained in:
@@ -1086,7 +1086,7 @@
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' width='70%' align='left'>\n";
|
||||
if (permission_exists('device_address')) {
|
||||
echo " <input class='formfld' type='text' name='device_address' id='device_address' style='width: 245px;' maxlength='36' value=\"".escape(format_device_address($device_address ?? ''))."\"/>\n";
|
||||
echo " <input class='formfld' type='text' name='device_address' id='device_address' style='width: 245px;' maxlength='36' value=\"".escape($prov->format_address($device_address, $device_vendor))."\"/>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-device_address']."\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user