Use the object format_address method
This commit is contained in:
parent
8beecfbb89
commit
cb7fd1e4ac
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue