Merge pull request #3414 from murrant/power-alert

Change poweralert os detection to case insensitive.
This commit is contained in:
Neil Lathwood
2016-04-23 11:23:07 +01:00
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
if (!$os) {
if (preg_match('/^POWERALERT/', $sysDescr)) {
if (preg_match('/^POWERALERT/i', $sysDescr)) {
$os = 'poweralert';
}
}