Bug 192340 - 'unknown_keyword' error doesn't mention keyword

r=myk, a=justdave
This commit is contained in:
bbaetz%acm.org 2003-02-08 01:38:51 +00:00
parent 730e1fdb5e
commit 9e45c085d5

View File

@ -985,6 +985,7 @@ if ($::FORM{'keywords'}) {
}
my $i = GetKeywordIdFromName($keyword);
if (!$i) {
$vars->{keyword} = $keyword;
ThrowUserError("unknown_keyword");
}
if (!$keywordseen{$i}) {