summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-30 14:16:00 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-30 14:16:00 -0400
commit6e167f114e5fc0cef4cc36672e3d0ffc43241c94 (patch)
tree0def5a7f3e5bfa92613ecf4c76e5e74edf7a689a /pts-core/functions/pts-functions_system.php
parentd5fb7b83a97279277e30a47a175f221a8ca961c4 (diff)
downloadphoronix-test-suite-upstream-6e167f114e5fc0cef4cc36672e3d0ffc43241c94.tar.gz
phoronix-test-suite-upstream-6e167f114e5fc0cef4cc36672e3d0ffc43241c94.tar.xz
phoronix-test-suite-upstream-6e167f114e5fc0cef4cc36672e3d0ffc43241c94.zip
pts-core: Fix undefined $bridge
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r--pts-core/functions/pts-functions_system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php
index a76d83e..b98e9b7 100644
--- a/pts-core/functions/pts-functions_system.php
+++ b/pts-core/functions/pts-functions_system.php
@@ -181,7 +181,7 @@ function motherboard_chipset_string()
}
}
- if($bridge != "Unknown")
+ if(isset($bridge) && $bridge != "Unknown")
{
// Attempt to detect Southbridge (if applicable)
$southbridge = read_pci(array("ISA bridge", "SATA controller"), FALSE);