Bug 34478: Fix op check in table settings admin

The "action" hidden field was renamed to "op", but "action" was still
being looked for in the script.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2024-02-16 11:46:50 +00:00 committed by Jonathan Druart
parent d98bd89094
commit b920d12090
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0

View file

@ -17,7 +17,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
}
);
my $op = $input->param('action') // 'list';
my $op = $input->param('op') // 'list';
if ( $op eq 'cud-save' ) {
my $module = $input->param('module');