From 2e2a9e45d87a938df95e21f096eba5fae99a6657 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Sep 2017 11:57:10 -0300 Subject: [PATCH] Bug 19195: Do not explicitely force scalar context when unecessary These ones are already called in scalar context --- acqui/basketheader.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acqui/basketheader.pl b/acqui/basketheader.pl index 83486a1bb7..0006e33412 100755 --- a/acqui/basketheader.pl +++ b/acqui/basketheader.pl @@ -69,11 +69,11 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( ); #parameters: -my $booksellerid = scalar $input->param('booksellerid'); -my $basketno = scalar $input->param('basketno'); +my $booksellerid = $input->param('booksellerid'); +my $basketno = $input->param('basketno'); my $basket; -my $op = scalar $input->param('op'); -my $is_an_edit = scalar $input->param('is_an_edit'); +my $op = $input->param('op'); +my $is_an_edit = $input->param('is_an_edit'); if ( $op eq 'add_form' ) { my @contractloop; -- 2.11.0