summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index a7600f449..7bd4381ed 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2196,7 +2196,8 @@ sub pronoun {
if ($noun eq "%qacontact%") {
return "COALESCE(bugs.qa_contact,0)";
}
- return 0;
+
+ ThrowUserError('illegal_pronoun', { pronoun => $noun });
}
sub _contact_pronoun {