X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FWidgets%2FForm%2FSelect;h=da771b20f5363fa7388239559814421b76fc961a;hp=fd7a31ca954787b22f5f948240e7b7ac1851e0f2;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=0ed195595b5c7ea404c8848d9d1881ada4214489 diff --git a/rt/share/html/Widgets/Form/Select b/rt/share/html/Widgets/Form/Select index fd7a31ca9..da771b20f 100644 --- a/rt/share/html/Widgets/Form/Select +++ b/rt/share/html/Widgets/Form/Select @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -91,7 +91,7 @@ $Multiple => 0, % foreach my $v( @Values ) { % my $selected = ''; % $selected = 'selected="selected"' if delete $CurrentValue{ $v }; - + % } % if ( $Alternative ) { @@ -120,7 +120,7 @@ if ( $ValuesCallback ) { } unless (defined $DefaultLabel ) { $DefaultLabel = loc('Use system default ([_1])', - join ', ', map loc($ValuesLabel{$_} || $_), grep defined, + join ', ', map loc(ref($ValuesLabel{$_}) ? @{ $ValuesLabel{$_ }} : $ValuesLabel{$_} || $_), grep defined, @DefaultValue ); }