summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/wot.inc.php2
1 files changed, 1 insertions, 1 deletions
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