From 9b403f8607e67923056f7b2636d9536fa5794feb Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 22 Mar 2012 14:13:21 +0100 Subject: [PATCH] Bug 7801 - admin/patron-attr-types.pl plack scoping Signed-off-by: Matthias Meusburger Signed-off-by: Paul Poulain --- admin/patron-attr-types.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl index 660a2274e4..638456e6a1 100755 --- a/admin/patron-attr-types.pl +++ b/admin/patron-attr-types.pl @@ -33,11 +33,11 @@ use C4::Members::AttributeTypes; my $script_name = "/cgi-bin/koha/admin/patron-attr-types.pl"; -my $input = new CGI; +our $input = new CGI; my $op = $input->param('op') || ''; -my ($template, $loggedinuser, $cookie) +our ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/patron-attr-types.tmpl", query => $input, type => "intranet", -- 2.39.5