diff options
Diffstat (limited to 'httemplate/config/config-delete.cgi')
| -rw-r--r-- | httemplate/config/config-delete.cgi | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/httemplate/config/config-delete.cgi b/httemplate/config/config-delete.cgi index ffeae7877..a05cb1e14 100644 --- a/httemplate/config/config-delete.cgi +++ b/httemplate/config/config-delete.cgi @@ -10,8 +10,10 @@ die "Configuration not found!" unless $conf;  $conf->delete;  my $redirect = popurl(2); -if ( $cgi->param('redirect') eq 'config_view' ) { +if ( $cgi->param('redirect') eq 'config_view_showagent' ) {    $redirect .= 'config/config-view.cgi?showagent=1#'. $conf->name; +} elsif ( $cgi->param('redirect') eq 'config_view' ) { +  $redirect .= 'config/config-view.cgi';  } else {    $redirect .= 'browse/agent.cgi';  } | 
