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 <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2024-02-16 17:00:27 +00:00 committed by Jonathan Druart
parent 75fda75868
commit 5bb56bd57a
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 1 additions and 1 deletions

View File

@ -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;