]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Missing definition of $dbh in get_workflow(), r=mkanat on IRC
authorlpsolit%gmail.com <>
Thu, 19 Jul 2007 19:24:45 +0000 (19:24 +0000)
committerlpsolit%gmail.com <>
Thu, 19 Jul 2007 19:24:45 +0000 (19:24 +0000)
editworkflow.cgi

index 6aaed345edc7d3491e11ef8636348c4abc9b7902..d599a97fdc6ec96ed2b8a35d6d0bab32d1ad6232 100644 (file)
@@ -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;