diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index e32b3533a3..6a1df616fc 100755 --- a/admin/aqbudgets.pl +++ b/admin/aqbudgets.pl @@ -185,7 +185,7 @@ if ($op eq 'add_form') { #---------------------- DEFAULT DISPLAY BELOW --------------------- # called by default form, used to confirm deletion of data in DB -} elsif ($op eq 'cud-delete_confirm') { +} elsif ($op eq 'delete_confirm') { my $budget = GetBudget($budget_id); $template->param( diff --git a/admin/currency.pl b/admin/currency.pl index b706ae0291..6220bbd081 100755 --- a/admin/currency.pl +++ b/admin/currency.pl @@ -91,7 +91,7 @@ if ( $op eq 'add_form' ) { } $searchfield = q||; $op = 'list'; -} elsif ( $op eq 'cud-delete_confirm' ) { +} elsif ( $op eq 'delete_confirm' ) { my $currency = Koha::Acquisition::Currencies->find($currency_code); my $nb_of_orders = Koha::Acquisition::Orders->search( { currency => $currency->currency } )->count;