Bug 8183 - acqui/parcels.pl plack scoping
Scope our $template for plack to prevent following error: Can't call method "param" on an undefined value at /srv/koha_ffzg/acqui/parcels.pl line 177. Test scenario: 1. Home > Acquisitions > Search for vendor 2. click on "Receive shipment" Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
9929c52a57
commit
47be784f96
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ my $dateto = $input->param('dateto');
|
|||
my $resultsperpage = $input->param('resultsperpage');
|
||||
$resultsperpage ||= 20;
|
||||
|
||||
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
||||
our ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
||||
{ template_name => 'acqui/parcels.tmpl',
|
||||
query => $input,
|
||||
type => 'intranet',
|
||||
|
|
Loading…
Reference in a new issue