From a9d8c681d9f36fff2402d11931cd725abf3df22c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 2 Apr 2024 11:54:53 +0000 Subject: [PATCH] Bug 36173: (follow-up) Tidy Signed-off-by: Katrin Fischer --- acqui/cancelorder.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/acqui/cancelorder.pl b/acqui/cancelorder.pl index 84e64714da..8174270228 100755 --- a/acqui/cancelorder.pl +++ b/acqui/cancelorder.pl @@ -45,13 +45,13 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { flagsrequired => { 'acquisition' => 'order_manage' }, } ); -my $op = $input->param('op') || q{}; -my $ordernumber = $input->param('ordernumber'); -my $biblionumber = $input->param('biblionumber'); -my $order = Koha::Acquisition::Orders->find($ordernumber); -my $basketno = $order->basketno; -my $basket = Koha::Acquisition::Baskets->find({ basketno => $basketno }, { prefetch => 'booksellerid' }); -my $referrer = $input->param('referrer') || $input->referer; +my $op = $input->param('op') || q{}; +my $ordernumber = $input->param('ordernumber'); +my $biblionumber = $input->param('biblionumber'); +my $order = Koha::Acquisition::Orders->find($ordernumber); +my $basketno = $order->basketno; +my $basket = Koha::Acquisition::Baskets->find( { basketno => $basketno }, { prefetch => 'booksellerid' } ); +my $referrer = $input->param('referrer') || $input->referer; my $delete_biblio = $input->param('del_biblio') ? 1 : 0; if( $op eq "cud-confirmcancel" ) { -- 2.39.5