diff options
author | TechSneeze <dave@techsneeze.com> | 2019-06-28 08:52:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-28 08:52:50 +0300 |
commit | 17067ff1eedc7976272f4a15bd7efc83a37bab2a (patch) | |
tree | 9eec597751efcb5c9ff42b9dc788c6ed976b6d20 | |
parent | dd546a5cc5c7e6b8afecf355a8d7d6fde77c7137 (diff) | |
parent | df0bd63ced6e68a2c63ae01c8d73f806d9321fd4 (diff) |
Merge pull request #34 from CodeLingoBot/rewrite-techsneeze-dmarcts-report-viewer-psr2-lower-case-constant-valuesv1.1v1.1
Change PHP keywords to comply with PSR2
-rw-r--r-- | dmarcts-report-viewer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dmarcts-report-viewer.php b/dmarcts-report-viewer.php index c114ed3..8474e60 100644 --- a/dmarcts-report-viewer.php +++ b/dmarcts-report-viewer.php @@ -415,7 +415,7 @@ $query = $mysqli->query($sql) or die("Query failed: ".$mysqli->error." (Error #" while($row = $query->fetch_assoc()) { $domains[] = $row['domain']; } -if( $dom_select <> '' && array_search($dom_select, $domains) === FALSE ) { +if( $dom_select <> '' && array_search($dom_select, $domains) === false ) { $dom_select = ''; } if( $dom_select <> '' ) { @@ -430,7 +430,7 @@ $query = $mysqli->query($sql) or die("Query failed: ".$mysqli->error." (Error #" while($row = $query->fetch_assoc()) { $orgs[] = $row['org']; } -if( $org_select <> '' && array_search($org_select, $orgs) === FALSE ) { +if( $org_select <> '' && array_search($org_select, $orgs) === false ) { $org_select = ''; } if( $org_select <> '' ) { @@ -446,7 +446,7 @@ $query = $mysqli->query($sql) or die("Query failed: ".$mysqli->error." (Error #" while($row = $query->fetch_assoc()) { $periods[] = sprintf( "%'.04d-%'.02d", $row['year'], $row['month'] ); } -if( $per_select <> '' && array_search($per_select, $periods) === FALSE ) { +if( $per_select <> '' && array_search($per_select, $periods) === false ) { $per_select = ''; } if( $per_select <> '' ) { |