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:
authorjnew-gh <github@hazelden.ca>2021-05-05 23:02:59 +0300
committerjnew-gh <github@hazelden.ca>2021-05-05 23:02:59 +0300
commitd81bfdd4ace3fb621c80b3ef0e93c554467507d5 (patch)
tree21cc4792fc199bcbf9bf47efa8bd9419fbf8d9f2
parentd6411a5ee90b161a507d3adbcc008d15e8f0a7c3 (diff)
Time should be an integer, not a string, in setcookie()
Fixes issue #69
-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 2f7c6da..5dbd3a4 100644
--- a/dmarcts-report-viewer.php
+++ b/dmarcts-report-viewer.php
@@ -219,7 +219,7 @@ include "dmarcts-report-viewer-common.php";
// --------------------------------------------------------------------------
configure();
-setcookie("dmarcts-options-tmp", "", "01 Jan 1970 00:00:00 UTC", "/");
+setcookie("dmarcts-options-tmp", "", time() - 3600, "/");
// Make a MySQL Connection using mysqli
// --------------------------------------------------------------------------