From: terry%mozilla.org <> Date: Wed, 5 Jul 2000 22:17:36 +0000 (+0000) Subject: If bugs with an invalid product/component are found, provide a link to bring up the... X-Git-Tag: bugzilla-2.12~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c395c38aab8dfad760cccc63adea988ef1bd540;p=thirdparty%2Fbugzilla.git If bugs with an invalid product/component are found, provide a link to bring up the list of invalid bugs. --- diff --git a/sanitycheck.cgi b/sanitycheck.cgi index e381aaa827..2dc7035bc2 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -227,7 +227,9 @@ foreach my $ref (@checklist) { my ($product, $component) = (@$ref); SendSQL("select count(*) from components where program = " . SqlQuote($product) . " and value = " . SqlQuote($component)); if (FetchOneColumn() != 1) { - Alert("Bug(s) found with invalid product/component: $product/$component"); + my $link = "buglist.cgi?product=" . url_quote($product) . + "&component=" . url_quote($component); + Alert(qq{Bug(s) found with invalid product/component: $product/$component (bug list)}); } }