diff options
author | jnew-gh <github@hazelden.ca> | 2021-05-05 23:02:59 +0300 |
---|---|---|
committer | jnew-gh <github@hazelden.ca> | 2021-05-05 23:02:59 +0300 |
commit | d81bfdd4ace3fb621c80b3ef0e93c554467507d5 (patch) | |
tree | 21cc4792fc199bcbf9bf47efa8bd9419fbf8d9f2 | |
parent | d6411a5ee90b161a507d3adbcc008d15e8f0a7c3 (diff) |
Time should be an integer, not a string, in setcookie()
Fixes issue #69
-rw-r--r-- | dmarcts-report-viewer.php | 2 |
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 // -------------------------------------------------------------------------- |