Bug 34478: Frameworks - first subfield delete button has incorrect op value
From the list of a tag's subfields (e.g. /cgi-bin/koha/admin/marc_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
8e6b95a936
commit
906059fd03
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ elsif ( $op eq 'cud-add_validate' ) {
|
|||
################## 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 $mss = Koha::MarcSubfieldStructures->find(
|
||||
{
|
||||
tagfield => $tagfield,
|
||||
|
|
Loading…
Reference in a new issue