summaryrefslogtreecommitdiff
path: root/httemplate/config/config-view.cgi
diff options
context:
space:
mode:
authorivan <ivan>2009-07-27 06:17:20 +0000
committerivan <ivan>2009-07-27 06:17:20 +0000
commit44a63e5978af2b5b4e00cabbc4b3541df4144305 (patch)
treec097faa540845953cee52a8337613e6b68f32d83 /httemplate/config/config-view.cgi
parentf3717767d19f9da888e190f87a04dfa245d658b4 (diff)
add deprecated config options back to Conf.pm to fix "unapplypayments" fails existential comparison errors, RT#2927
Diffstat (limited to 'httemplate/config/config-view.cgi')
-rw-r--r--httemplate/config/config-view.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi
index c5ac1a685..9e9e64eb2 100644
--- a/httemplate/config/config-view.cgi
+++ b/httemplate/config/config-view.cgi
@@ -78,6 +78,8 @@ Click on a configuration value to change it.
% foreach my $agent ( @agents ) {
% my $agentnum = $agent ? $agent->agentnum : '';
%
+% next if $section eq 'deprecated' && ! $conf->exists($i->key, $agentnum);
+%
% my $label = $i->key;
% $label = '['. $agent->agent. "] $label"
% if $agent && $cgi->param('showagent');