From 684e80685dca8d928a7e9a5b6001da4c7e1c6836 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Tue, 21 May 2013 22:30:41 +0200 Subject: bug 1137: changed direection of test in wot.inc.php --- includes/wot.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/wot.inc.php b/includes/wot.inc.php index aa5500a..94253c9 100644 --- a/includes/wot.inc.php +++ b/includes/wot.inc.php @@ -675,5 +675,5 @@ function check_date_format($date, $year=2000){ */ function check_date_differnce($date, $diff=1){ //returns false if the date is larger then today + time diffrence - return (strtotime($date)>=time()+$diff*86400); + return (strtotime($date)<=time()+$diff*86400); } \ No newline at end of file -- cgit v1.2.1