From 6c8ce553ba3e80b5720ce3609f162483da372c2c Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 20 Mar 2012 14:24:44 +0100 Subject: [PATCH] Bug 7765 - labels/label-edit-layout.pl: plack $layout scoping --- 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