aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-23 18:58:52 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-23 18:58:52 +0200
commit64213233a16a49bda77f5bb9384c90c7d76f7d2f (patch)
tree145c33e537c048f88de04a0f0fd5f6e23c223da3
parentd676c42ebc5090b220dc683cca77b9a39239cb25 (diff)
downloadbugzilla-triage-64213233a16a49bda77f5bb9384c90c7d76f7d2f.tar.gz
Not everybody has data to determine maintCCAddr
-rw-r--r--lib/rhbzpage.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 38b3096..78c4f7d 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -70,8 +70,12 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
this.chipMagicInterestingLine = "";
this.login = this.getLogin();
- this.maintCCAddr = util.filterByRegexp(this.constantData.CCmaintainer,
- this.component);
+
+ this.maintCCAddr = null;
+ if (this.constantData.CCmaintainer) {
+ this.maintCCAddr = util.filterByRegexp(this.constantData.CCmaintainer,
+ this.component);
+ }
var ITbutton = this.doc.getElementById("cf_issuetracker");
this.its = ITbutton ? ITbutton.value.trim() : "";