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 --- editwhines.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'editwhines.cgi') diff --git a/editwhines.cgi b/editwhines.cgi index f0fddeb5b..0aed19b7a 100755 --- a/editwhines.cgi +++ b/editwhines.cgi @@ -444,6 +444,7 @@ $template->process("whine/schedule.html.tmpl", $vars) # the subject and body of each event that user owns sub get_events { my $userid = shift; + my $dbh = Bugzilla->dbh; my $events = {}; my $sth = $dbh->prepare("SELECT DISTINCT id, subject, body " . -- cgit v1.2.3-24-g4f1b