aboutsummaryrefslogtreecommitdiffstats
path: root/data/rhlib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-06-10 14:19:58 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-10 14:19:58 +0200
commit2300d4e838a698dce381a40eb951b03ea19947f9 (patch)
tree261265b369c0e7d760cb14a3c0493d51f30ac064 /data/rhlib
parentd30965c8abb24c6239e2f1d085e29dc5629e7161 (diff)
downloadbugzilla-triage-2300d4e838a698dce381a40eb951b03ea19947f9.tar.gz
We should work even when interestingLineArr == 1.
We shouldn't check for its length, but for the length of interestingPCIID.
Diffstat (limited to 'data/rhlib')
-rw-r--r--data/rhlib/rhbzpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js
index 3e3a3ae..bfdeb55 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -275,7 +275,7 @@ function chipsetMagic (interestingLineArr) {
var interestingPCIID = interestingArray[2].trim().split(":");
// If we have Chipset line, we should parse it as well and
// add to the button
- if (interestingLineArr.length > 1) {
+ if (interestingPCIID.length > 1) {
var PCIid = (interestingPCIID[0] + ":" + interestingPCIID[1]).
toUpperCase();
console.myDebug("PCIid = " + PCIid);