Use the object format_address method

This commit is contained in:
FusionPBX
2024-07-18 23:35:58 -06:00
committed by GitHub
parent 8beecfbb89
commit cb7fd1e4ac

View File

@@ -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";
}