diff options
author | ivan <ivan> | 2009-04-17 08:02:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-04-17 08:02:29 +0000 |
commit | 6a1d3fe46f65b0a24ec025c22afcdb75af3c9e9a (patch) | |
tree | 5d97d9027d2b55a797aeba09adf2f12b6ce538c7 /httemplate/config/config.cgi | |
parent | 3e51d644757efe3ffa7eff41e50adfcb4b5e62e7 (diff) |
show labels for select(select_hash) config options, RT#3997
Diffstat (limited to 'httemplate/config/config.cgi')
-rw-r--r-- | httemplate/config/config.cgi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi index f390c64..7f2e667 100644 --- a/httemplate/config/config.cgi +++ b/httemplate/config/config.cgi @@ -84,11 +84,9 @@ Setting <b><% $key %></b> % '' => '', map { $_ => $_ } @{ $config_item->select_enum }; % } elsif ( $config_item->select_hash ) { % if ( ref($config_item->select_hash) eq 'ARRAY' ) { -% tie %hash, 'Tie::IxHash', -% '' => '', @{ $config_item->select_hash }; +% tie %hash, 'Tie::IxHash', '' => '', @{ $config_item->select_hash }; % } else { -% tie %hash, 'Tie::IxHash', -% '' => '', %{ $config_item->select_hash }; +% tie %hash, 'Tie::IxHash', '' => '', %{ $config_item->select_hash }; % } % } else { % %hash = ( '' => 'WARNING: neither select_enum nor select_hash specified in Conf.pm for configuration option "'. $key. '"' ); |