summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-07-19 21:24:45 +0200
committerlpsolit%gmail.com <>2007-07-19 21:24:45 +0200
commitaefd795110a03d07f16fd9e4ddb7888351982802 (patch)
treec4a30788594c0b2fe6efe40b627d72b37877d58c
parent7261190b84649b8da49e9d512a6cf9e7f5cac06b (diff)
downloadbugzilla-aefd795110a03d07f16fd9e4ddb7888351982802.tar.gz
bugzilla-aefd795110a03d07f16fd9e4ddb7888351982802.tar.xz
Missing definition of $dbh in get_workflow(), r=mkanat on IRC
-rw-r--r--editworkflow.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/editworkflow.cgi b/editworkflow.cgi
index 6aaed345e..d599a97fd 100644
--- a/editworkflow.cgi
+++ b/editworkflow.cgi
@@ -44,6 +44,7 @@ my $action = $cgi->param('action') || 'edit';
my $token = $cgi->param('token');
sub get_workflow {
+ my $dbh = Bugzilla->dbh;
my $workflow = $dbh->selectall_arrayref('SELECT old_status, new_status, require_comment
FROM status_workflow');
my %workflow;