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:
authorpressy <bart@terta.de>2017-11-25 17:32:06 +0300
committerpressy <bart@terta.de>2017-11-25 17:32:06 +0300
commitbd4563f72555d7294f3a6addfa8675fc332934c1 (patch)
tree5f9f96b118127818f05649029b0c08e8b4079fa6
parente1a59c2bbdf08ecbe9e205f96738b33b351a33bf (diff)
make current month default
-rw-r--r--dmarcts-report-viewer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmarcts-report-viewer.php b/dmarcts-report-viewer.php
index 83c109d..e0916b0 100644
--- a/dmarcts-report-viewer.php
+++ b/dmarcts-report-viewer.php
@@ -378,7 +378,7 @@ if(isset($_POST['selPeriod'])){
} elseif(isset($_GET['p'])){
$per_select=$_GET['p'];
}else{
- $per_select= '';
+ $per_select= date( 'Y-m' );
}
if( $per_select == "all" ) {
$per_select= '';