projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stray closing /TABLE in the no-ticket case
[freeside.git]
/
httemplate
/
view
/
elements
/
svc_devices.html
diff --git
a/httemplate/view/elements/svc_devices.html
b/httemplate/view/elements/svc_devices.html
index
899e6aa
..
3d4e1bb
100644
(file)
--- a/
httemplate/view/elements/svc_devices.html
+++ b/
httemplate/view/elements/svc_devices.html
@@
-63,7
+63,8
@@
<% $td %><% $device->part_device->devicename |h %></TD>
% }
<% $td %><% $device->mac_addr_pretty %>
<% $td %><% $device->part_device->devicename |h %></TD>
% }
<% $td %><% $device->mac_addr_pretty %>
- (<% (Net::MAC::Vendor::lookup($device->mac_addr_formatted('U',':')))->[0] %>)
+% my $vendor = Net::MAC::Vendor::lookup($device->mac_addr_formatted('U',':'));
+ (<% $vendor ? $vendor->[0] : '' %>)
</TD>
<% $td %><% $export_links %></TD>
<% $td %>(
</TD>
<% $td %><% $export_links %></TD>
<% $td %>(