summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard/lib
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MyDashboard/lib')
-rw-r--r--extensions/MyDashboard/lib/Queries.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/MyDashboard/lib/Queries.pm b/extensions/MyDashboard/lib/Queries.pm
index 628e26a73..79247bf73 100644
--- a/extensions/MyDashboard/lib/Queries.pm
+++ b/extensions/MyDashboard/lib/Queries.pm
@@ -133,6 +133,9 @@ sub query_bugs {
my $qdef = shift;
my $dbh = Bugzilla->dbh;
+ ## HACK to remove POST
+ delete $ENV{REQUEST_METHOD};
+
my $params = new Bugzilla::CGI($qdef->{params});
my $search = new Bugzilla::Search( fields => [ SELECT_COLUMNS ],