From f162521444148d622df3b42a8304b6cce8f2150e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 6 Jul 2006 13:12:04 +0000 Subject: Bug 173629: Clean up "my" variable scoping issues for mod_perl Patch By Max Kanat-Alexander r=LpSolit, a=myk --- enter_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index e5463b501..1315ca927 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -145,7 +145,7 @@ $user->can_enter_product($product ? $product->name : $product_name, THROW_ERROR) ############################################################################## sub formvalue { my ($name, $default) = (@_); - return $cgi->param($name) || $default || ""; + return Bugzilla->cgi->param($name) || $default || ""; } # Takes the name of a field and a list of possible values for that -- cgit v1.2.3-24-g4f1b