From 5bb56bd57a9b953dbe25b214b16609de17233ec9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 16 Feb 2024 17:00:27 +0000 Subject: [PATCH] Bug 34478: Correct value of "op" when loading the edit form. The op doesn't need "cud-" because it's a GET operation. Signed-off-by: Jonathan Druart --- admin/smtp_servers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/smtp_servers.pl b/admin/smtp_servers.pl index 636b4ccaad..1171477fab 100755 --- a/admin/smtp_servers.pl +++ b/admin/smtp_servers.pl @@ -88,7 +88,7 @@ if ( $op eq 'cud-add' ) { # list servers after adding $op = 'list'; } -elsif ( $op eq 'cud-edit_form' ) { +elsif ( $op eq 'edit_form' ) { my $smtp_server_id = $input->param('smtp_server_id'); my $smtp_server; -- 2.39.5