From 2300d4e838a698dce381a40eb951b03ea19947f9 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 10 Jun 2011 14:19:58 +0200 Subject: We should work even when interestingLineArr == 1. We shouldn't check for its length, but for the length of interestingPCIID. --- data/rhlib/rhbzpage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rhlib/rhbzpage.js') 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); -- cgit