summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index dbc102d3e..d6fda9b3b 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -30,7 +30,7 @@ use Bugzilla;
use Bugzilla::Constants;
require "CGI.pl";
-use Bug;
+use Bugzilla::Bug;
use Bugzilla::User;
@@ -478,7 +478,7 @@ if (defined $::FORM{'qa_contact'}) {
}
$vars->{'id'} = $id;
-my $bug = new Bug($id, $::userid);
+my $bug = new Bugzilla::Bug($id, $::userid);
$vars->{'bug'} = $bug;
ThrowCodeError("bug_error", { bug => $bug }) if $bug->error;