aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordedeibel2018-12-28 10:30:13 +0100
committerdedeibel2018-12-28 10:30:13 +0100
commit50dac4c2dfa72ad9b4ef0e1a4656999bb3d3d478 (patch)
tree4f300f519888db069571a9771ee46db6956733fc
parente65732e84128f020d436584614cd8571bdbeb94a (diff)
Feedback start date default is today
-rw-r--r--view/feedback-read.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/feedback-read.php b/view/feedback-read.php
index ba7a985..b1b582b 100644
--- a/view/feedback-read.php
+++ b/view/feedback-read.php
@@ -7,7 +7,7 @@ if(!$feedback->isLoggedIn())
exit;
}
-$from = isset($_POST['from']) ? strtotime($_POST['from']) : strtotime('2000-01-01');
+$from = isset($_POST['from']) ? strtotime($_POST['from']) : time();
$to = isset($_POST['to']) ? strtotime($_POST['to']) : time() + 24*60*60;
$cols = isset($_POST['col']) ? $_POST['col'] : array('reported', 'stream', 'player', 'issuetext');