Bug 13452: Fix for plack
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a44f202fdb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
99e3ef7554
commit
dafd66b7a6
|
|
@ -61,7 +61,6 @@ my $rodsp = $input->param("ReturnDisplay");
|
|||
my $calc = $input->param("Cellvalue");
|
||||
my $output = $input->param("output");
|
||||
my $basename = $input->param("basename");
|
||||
my $itype = C4::Context->preference('item-level_itypes') ? "items.itype" : "biblioitems.itemtype";
|
||||
|
||||
#warn "calcul : ".$calc;
|
||||
my ($template, $borrowernumber, $cookie)
|
||||
|
|
@ -178,6 +177,7 @@ sub calculate {
|
|||
my @looprow;
|
||||
my %globalline;
|
||||
my $grantotal =0;
|
||||
my $itype = C4::Context->preference('item-level_itypes') ? "items.itype" : "biblioitems.itemtype";
|
||||
# extract parameters
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue