aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-22 04:57:30 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:46:49 +0200
commit2a04c3fc60e4f9cd8b59cbe6bcfbd56d0e29c98f (patch)
tree7710cf2dc8ca319bf995859babc45fa797c042b2 /data/lib/rhbzpage.js
parentfe02d1337e9f4377b381f311efb8224a50ef8903 (diff)
downloadbugzilla-triage-2a04c3fc60e4f9cd8b59cbe6bcfbd56d0e29c98f.tar.gz
Fixed other functions broken
* not all functions are able to accept the null as return value (directly or indirectly) of filterByRegexp * finally make all logic not to affect components which shouldn't be bothered with the test.
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r--data/lib/rhbzpage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js
index bce5ac1..22e3178 100644
--- a/data/lib/rhbzpage.js
+++ b/data/lib/rhbzpage.js
@@ -471,7 +471,9 @@ function RHBZinit() {
if (constantData.xorgBugsCategories) {
var XBZlist = filterByRegexp(constantData.
xorgBugsCategories, getComponent());
- makeBugCategoriesList(XBZlist);
+ if (XBZlist) {
+ makeBugCategoriesList(XBZlist);
+ }
}
// Dig out backtrace protection against double-firing?