aboutsummaryrefslogtreecommitdiffstats
path: root/editwhines.cgi
diff options
context:
space:
mode:
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 " .