summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-05-21 22:30:41 +0200
committerINOPIAE <inopiae@cacert.org>2013-05-21 22:30:41 +0200
commit684e80685dca8d928a7e9a5b6001da4c7e1c6836 (patch)
treecbff92caf03e8c5ef028b99efadbcc730352fe0e
parentb6057400206bd3c8c6c21bff9cd49d6dcd352e69 (diff)
downloadcacert-devel-684e80685dca8d928a7e9a5b6001da4c7e1c6836.tar.gz
cacert-devel-684e80685dca8d928a7e9a5b6001da4c7e1c6836.tar.xz
cacert-devel-684e80685dca8d928a7e9a5b6001da4c7e1c6836.zip
bug 1137: changed direection of test in wot.inc.php
-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