Change poweralert os detection to case insensitive.

Patch from Neil Lathwood
This commit is contained in:
Tony Murray
2016-04-22 21:39:48 -05:00
parent 9bbb49ca66
commit 0fa29b6d29
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
if (!$os) {
if (preg_match('/^POWERALERT/', $sysDescr)) {
if (preg_match('/^POWERALERT/i', $sysDescr)) {
$os = 'poweralert';
}
}