Fix some scrutinizer coding style issues

This commit is contained in:
Mike Rostermund
2015-08-04 18:34:24 +02:00
parent e7d87d6b0a
commit 5369112d48
7 changed files with 14 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ if (isset($_GET['term'],$_GET['device_id'])) {
$obj = array_chunk($obj, 20, true);
$obj = $obj[0];
$flds = array();
if ($current == true) {
if ($current === true) {
foreach ($obj as $fld) {
$flds[] = $fld['name'];
}