aboutsummaryrefslogtreecommitdiffstats
path: root/editwhines.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-06 13:12:04 +0000
committermkanat%bugzilla.org <>2006-07-06 13:12:04 +0000
commitf162521444148d622df3b42a8304b6cce8f2150e (patch)
tree78cf6a0bfad99a4f053c998b98efe36929475005 /editwhines.cgi
parent5e55e7bc89682617a14d5fbc3b6098c12ce1aece (diff)
downloadbugs-f162521444148d622df3b42a8304b6cce8f2150e.tar
bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.gz
bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.bz2
bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.xz
bugs-f162521444148d622df3b42a8304b6cce8f2150e.zip
Bug 173629: Clean up "my" variable scoping issues for mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'editwhines.cgi')
-rwxr-xr-xeditwhines.cgi1
1 files changed, 1 insertions, 0 deletions
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 " .