From 85697ac66cbd10adb403c6887c8c3a01d016b287 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 (cherry picked from commit a9d8c681d9f36fff2402d11931cd725abf3df22c) Signed-off-by: Fridolin Somers --- acqui/cancelorder.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/acqui/cancelorder.pl b/acqui/cancelorder.pl index 16ae84f487..76c7067cc8 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 $action = $input->param('action'); -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 $action = $input->param('action'); +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( $action and $action eq "confirmcancel" ) { -- 2.39.5