summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_svc.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-08-06 21:31:04 +0000
committerivan <ivan>2010-08-06 21:31:04 +0000
commit89da4b96c4e2fce7079be8d2729750c088f8035b (patch)
tree77110171b8af09fe002f6d0135e21cc38bffc934 /httemplate/edit/part_svc.cgi
parentd311f62f655dc5cad8b9319f07f8c0e6bf344cc2 (diff)
communigate phase 3: archive messages, RT#7515
Diffstat (limited to 'httemplate/edit/part_svc.cgi')
-rwxr-xr-xhttemplate/edit/part_svc.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 7f2e3aa3c..940ea8d25 100755
--- a/httemplate/edit/part_svc.cgi
+++ b/httemplate/edit/part_svc.cgi
@@ -298,10 +298,10 @@ that field.
% $item. '</OPTION>';
% } #next $item
% } elsif ( $def->{select_hash} ) {
-% $def->{select_hash} = tie %{ $def->{select_hash} },
-% 'Tie::IxHash',
-% @{ $def->{select_hash} }
-% if ref($def->{select_hash}) eq 'ARRAY';
+% if ( ref($def->{select_hash}) eq 'ARRAY' ) {
+% tie my %hash, 'Tie::IxHash', @{ $def->{select_hash} };
+% $def->{select_hash} = \%hash;
+% }
% foreach my $key ( keys %{$def->{select_hash}} ) {
% $html .= qq!<OPTION VALUE="$key"!.
% (grep(/^$key$/, split(',',$value)) ? ' SELECTED>' : '>' ).