projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.19
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
ColumnMap
diff --git
a/rt/share/html/Elements/ColumnMap
b/rt/share/html/Elements/ColumnMap
index
12a6145
..
30d4b3a
100644
(file)
--- a/
rt/share/html/Elements/ColumnMap
+++ b/
rt/share/html/Elements/ColumnMap
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-111,9
+111,9
@@
my $COLUMN_MAP = {
# Display custom field contents, separated by newlines.
# For Image custom fields we also show a thumbnail here.
# Display custom field contents, separated by newlines.
# For Image custom fields we also show a thumbnail here.
-
my $values = $cf->ValuesForObject( $_[0] );
return if $values->Count == 0;
my $values = $cf->ValuesForObject( $_[0] );
return if $values->Count == 0;
+
my @values;
# it is guaranteed to be the same type for all fields, right?
my $v = $values->First;
my @values;
# it is guaranteed to be the same type for all fields, right?
my $v = $values->First;
@@
-160,7
+160,7
@@
my $COLUMN_MAP = {
my $arg = $DECODED_ARGS->{ $name };
my $checked = '';
if ( $arg && ref $arg ) {
my $arg = $DECODED_ARGS->{ $name };
my $checked = '';
if ( $arg && ref $arg ) {
- $checked = 'checked="checked"' if grep $_ == $id, @$arg;
+ $checked = 'checked="checked"' if grep $_ == $id,
grep { defined and length }
@$arg;
}
elsif ( $arg ) {
$checked = 'checked="checked"' if $arg == $id;
}
elsif ( $arg ) {
$checked = 'checked="checked"' if $arg == $id;