X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Felements%2Fsvc_devices.html;h=3d4e1bbc5df99c9601a2d39b8c18ad652482f412;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hp=899e6aa47213d9494069bd48450afdd2b914832d;hpb=31272b420c6206e82ce8b622fd14bf469fe1e126;p=freeside.git diff --git a/httemplate/view/elements/svc_devices.html b/httemplate/view/elements/svc_devices.html index 899e6aa47..3d4e1bbc5 100644 --- 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 %><% $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 %><% $export_links %> <% $td %>(