Bug 34478: Authority frameworks - first subfield delete button has incorrect op value
From the list of a tag's subfields (e.g. /cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=245&frameworkcode=) the delete button is a GET operation to a second form for confirmation. This script should be checking for op=delete_confirm, not cud-delete-confirm. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
906059fd03
commit
09bfb81c5e
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ if ($op eq 'add_form') {
|
|||
################## DELETE_CONFIRM ##################################
|
||||
# called by default form, used to confirm deletion of data in DB
|
||||
}
|
||||
elsif ( $op eq 'cud-delete_confirm' ) {
|
||||
elsif ( $op eq 'delete_confirm' ) {
|
||||
my $ass = Koha::Authority::Subfields->find(
|
||||
{
|
||||
authtypecode => $authtypecode,
|
||||
|
|
Loading…
Reference in a new issue