Whoops, $string isn't a useful thing to run a RegEx on!

This commit is contained in:
Kevin Fleshman
2015-03-09 12:32:08 -07:00
parent 728b9abd54
commit 246b95eb50

View File

@@ -2,7 +2,7 @@
if (!$os)
{
if(preg_match('/HP [a-zA-Z0-9-]+ Switch Software Version/',$string)) { $os = "hp"; }
if(preg_match('/HP [a-zA-Z0-9-]+ Switch Software Version/',$sysDescr)) { $os = "hp"; }
}
?>