Commit aefd7951 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Missing definition of $dbh in get_workflow(), r=mkanat on IRC

parent 7261190b
...@@ -44,6 +44,7 @@ my $action = $cgi->param('action') || 'edit'; ...@@ -44,6 +44,7 @@ my $action = $cgi->param('action') || 'edit';
my $token = $cgi->param('token'); my $token = $cgi->param('token');
sub get_workflow { sub get_workflow {
my $dbh = Bugzilla->dbh;
my $workflow = $dbh->selectall_arrayref('SELECT old_status, new_status, require_comment my $workflow = $dbh->selectall_arrayref('SELECT old_status, new_status, require_comment
FROM status_workflow'); FROM status_workflow');
my %workflow; my %workflow;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment