Skip to content
Permalink
Browse files

Merge pull request #34 from CodeLingoBot/rewrite-techsneeze-dmarcts-r…

…eport-viewer-psr2-lower-case-constant-values

Change PHP keywords to comply with PSR2
  • Loading branch information...
techsneeze committed Jun 28, 2019
2 parents dd546a5 + df0bd63 commit 17067ff1eedc7976272f4a15bd7efc83a37bab2a
Showing with 3 additions and 3 deletions.
  1. +3 −3 dmarcts-report-viewer.php
@@ -415,7 +415,7 @@ function tmpl_page ($body, $reportid, $host_lookup = 1, $sort_order, $dom_select
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 @@ function tmpl_page ($body, $reportid, $host_lookup = 1, $sort_order, $dom_select
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 @@ function tmpl_page ($body, $reportid, $host_lookup = 1, $sort_order, $dom_select
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 <> '' ) {

0 comments on commit 17067ff

Please sign in to comment.
You can’t perform that action at this time.