bug 1137: changed direection of test in wot.inc.php
authorINOPIAE <inopiae@cacert.org>
Tue, 21 May 2013 20:30:41 +0000 (22:30 +0200)
committerINOPIAE <inopiae@cacert.org>
Tue, 21 May 2013 20:30:41 +0000 (22:30 +0200)
includes/wot.inc.php

index aa5500a..94253c9 100644 (file)
@@ -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