summaryrefslogtreecommitdiff
path: root/rt/html/Elements/EditCustomFieldSelect
diff options
context:
space:
mode:
authorivan <ivan>2006-10-17 08:51:01 +0000
committerivan <ivan>2006-10-17 08:51:01 +0000
commitc8cccb4a92adceb943c635fe62dad0d034462ce0 (patch)
tree0a33472e21f5174091e49e245f5bd68a235d4d50 /rt/html/Elements/EditCustomFieldSelect
parentacd0f14d8f619055b4292c178b14682974fb0099 (diff)
parenta513c0bef534d05f03c1242831b6f3be19b97dae (diff)
This commit was generated by cvs2svn to compensate for changes in r4888,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/html/Elements/EditCustomFieldSelect')
-rw-r--r--rt/html/Elements/EditCustomFieldSelect3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/html/Elements/EditCustomFieldSelect b/rt/html/Elements/EditCustomFieldSelect
index db33a6839..2a2a64a1d 100644
--- a/rt/html/Elements/EditCustomFieldSelect
+++ b/rt/html/Elements/EditCustomFieldSelect
@@ -53,7 +53,8 @@
% if ($Values) {
<% $Values->HasEntry($value->Name) && ($selected = 1) && 'SELECTED' %>
% } elsif ($Default) {
- <% ($Default eq $value->Name) && ($selected = 1) && 'SELECTED' %>
+ <% (ref $Default ? (grep {$_ eq $value->Name} @{$Default}) : ($Default eq $value->Name))
+ && ($selected = 1) && 'SELECTED' %>
% }
><% $value->Name%></option>
% }