Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/techsneeze/dmarcts-report-viewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvivona <joe@ajcomputers.com>2020-07-29 21:52:30 +0300
committerjvivona <joe@ajcomputers.com>2020-07-29 21:52:30 +0300
commit86f754a27643eed3d966df449693b616d569818c (patch)
tree5a9ecf993c3c6fecec0ea9fcdafdc5057ea8ab1c /dmarcts-report-viewer.php
parent872ba819bf045c3d72e75a0843fc30a26a887675 (diff)
removed $arg for domains and reporter
$arg was being carried across from periods (to select latest period) to orgs and reporter - by default "all" should be selected, but $arg was over-riding to force only the last domain & last reporter to be displayed.
Diffstat (limited to 'dmarcts-report-viewer.php')
-rw-r--r--dmarcts-report-viewer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmarcts-report-viewer.php b/dmarcts-report-viewer.php
index c3c4922..5f7bb24 100644
--- a/dmarcts-report-viewer.php
+++ b/dmarcts-report-viewer.php
@@ -103,7 +103,7 @@ function html ($default_hostlookup = 1, $cssfile, $domains = array(), $orgs = ar
$html[] = "<option selected=\"selected\" value=\"all\">[all]</option>";
foreach( $domains as $d) {
- $html[] = "<option $arg value=\"$d\">$d</option>";
+ $html[] = "<option value=\"$d\">$d</option>";
}
$html[] = "</select>";
@@ -119,7 +119,7 @@ function html ($default_hostlookup = 1, $cssfile, $domains = array(), $orgs = ar
$html[] = "<option selected=\"selected\" value=\"all\">[all]</option>";
foreach( $orgs as $o) {
- $html[] = "<option $arg value=\"$o\">" . ( strlen( $o ) > 25 ? substr( $o, 0, 22) . "..." : $o ) . "</option>";
+ $html[] = "<option value=\"$o\">" . ( strlen( $o ) > 25 ? substr( $o, 0, 22) . "..." : $o ) . "</option>";
}
$html[] = "</select>";