From 8ecdc3aa412d2726447e840dd561182038b1003f 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 Signed-off-by: Alex Arnaud Signed-off-by: Paul Poulain --- labels/label-edit-layout.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl index 5a45d5cfe0..db3d32cf89 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) = @_; -- 2.39.5