[Koha-patches] [PATCH] Bug 7765 - labels/label-edit-layout.pl: plack $layout scoping

Dobrica Pavlinusic dpavlin at rot13.org
Wed Mar 21 15:39:53 CET 2012


---
 labels/label-edit-layout.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl
index 5a45d5c..db3d32c 100755
--- a/labels/label-edit-layout.pl
+++ b/labels/label-edit-layout.pl
@@ -44,7 +44,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
 my $op = $cgi->param('op') || $ARGV[0] || '';
 my $layout_id = $cgi->param('layout_id') || $cgi->param('element_id') || $ARGV[1] || '';
 my $layout_choice = $cgi->param('layout_choice') || '';
-my $layout = '';
+our $layout = '';
 
 sub _set_selected {
     my ($type_list, $object, $data_type) = @_;
-- 
1.7.2.5



More information about the Koha-patches mailing list