diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-05-02 13:33:14 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-05-02 13:33:14 -0700 |
commit | 14b88fec3eb275ae5339bb7ad1d72bdb333454c0 (patch) | |
tree | 95751010b92d8d8f3cc47401080d9a10306a7eb8 /httemplate/config/config-process.cgi | |
parent | b3f48204012dd722912dcb3703908bd1eaf6df7b (diff) |
allow agent override to NO of global payment_receipt set to YES, RT#17468
Diffstat (limited to 'httemplate/config/config-process.cgi')
-rw-r--r-- | httemplate/config/config-process.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/config/config-process.cgi b/httemplate/config/config-process.cgi index 3dcb1d3ef..f1cbb1831 100644 --- a/httemplate/config/config-process.cgi +++ b/httemplate/config/config-process.cgi @@ -47,7 +47,7 @@ '</pre></font>'; % } elsif ( $type eq 'checkbox' ) { -% if ( $conf->exists($i->key, $agentnum) ) { +% if ( $conf->config_bool($i->key, $agentnum) ) { configCell.style.backgroundColor = '#00ff00'; configCell.innerHTML = 'YES'; % } else { @@ -184,7 +184,7 @@ foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) { } # warn @touch; $conf->touch($_, $agentnum) foreach @touch; -$conf->delete($_, $agentnum) foreach @delete; +$conf->delete_bool($_, $agentnum) foreach @delete; if (scalar(@error)) { $cgi->param('error', join(' ', @error)); |