summaryrefslogtreecommitdiffstats
path: root/editworkflow.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editworkflow.cgi')
-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;