Skip to content
Permalink
Browse files

Change PHP keywords to comply with PSR2

Signed-off-by: CodeLingoBot <bot@codelingo.io>
  • Loading branch information...
CodeLingoBot committed Apr 16, 2019
1 parent dd546a5 commit df0bd63ced6e68a2c63ae01c8d73f806d9321fd4
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 df0bd63

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