diff options
| author | Mark Wells <mark@freeside.biz> | 2015-12-10 01:03:17 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-12-10 01:03:17 -0800 |
| commit | 93606bc1854625bfffb8316630bbd4d987d161ec (patch) | |
| tree | eed58ed41fb71552801c78482e6795daa65de997 /httemplate/view/elements/svc_Common.html | |
| parent | 0414f671da0bb49fd2af12c9adc641fda3478bb1 (diff) | |
| parent | 8fd0a2a920cf5e46c36da85f3346f933727e5dc8 (diff) | |
Merge branch 'FREESIDE_4_BRANCH' of git.freeside.biz:/home/git/freeside into 4.x
Diffstat (limited to 'httemplate/view/elements/svc_Common.html')
| -rw-r--r-- | httemplate/view/elements/svc_Common.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html index d7a1dcf30..296c27bbc 100644 --- a/httemplate/view/elements/svc_Common.html +++ b/httemplate/view/elements/svc_Common.html @@ -283,8 +283,8 @@ my $format_field = sub { } elsif ( $type eq 'checkbox' ) { $value = $value eq 'Y' ? emt('Yes') : emt('No'); } elsif ( $type =~ /(input-)?mac_addr/ and $value =~ /\w/) { - my $vendor = Net::MAC::Vendor::lookup($value)->[0]; - $value .= " ($vendor)" if $vendor; + my $vendor = Net::MAC::Vendor::lookup($value); + $value .= ' ('. $vendor->[0]. ')' if $vendor; $value = $m->scomp('/elements/mac_addr.html', $value); } |
