aboutsummaryrefslogtreecommitdiffstats
path: root/data/tweaks
diff options
context:
space:
mode:
Diffstat (limited to 'data/tweaks')
-rw-r--r--data/tweaks/bug-page-mod.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js
index 9d80abc..482108e 100644
--- a/data/tweaks/bug-page-mod.js
+++ b/data/tweaks/bug-page-mod.js
@@ -196,8 +196,10 @@ function tweakBugzilla(d, cData) {
var CheckinComment = new CheckinCommentCtor();
CheckinComment.initialize(d, AttachmentFlagHandler._interestingFlags);
- var XMLRPCUrl = cData.XMLRPCData[d.location.hostname].url;
- collectHistory(XMLRPCUrl);
+ if (d.location.hostname in cData.XMLRPCData) {
+ var XMLRPCUrl = cData.XMLRPCData[d.location.hostname].url;
+ collectHistory(XMLRPCUrl);
+ }
tbplbotSpamCollapser(d);
}