summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-05-21 23:46:09 +0200
committerBenny Baumann <BenBE@geshi.org>2013-05-21 23:46:09 +0200
commit1528581ab28c46afd58649dd7de8786bc34b48c3 (patch)
tree382af6e4bbe08d74e5b767dc1f0f3468de19792b
parent0a5933fd408c63c76ded5e8d6aa0c27ee4913e81 (diff)
parent684e80685dca8d928a7e9a5b6001da4c7e1c6836 (diff)
downloadcacert-devel-1528581ab28c46afd58649dd7de8786bc34b48c3.tar.gz
cacert-devel-1528581ab28c46afd58649dd7de8786bc34b48c3.tar.xz
cacert-devel-1528581ab28c46afd58649dd7de8786bc34b48c3.zip
Merge branch 'bug-1137' into testserver-stable
Conflicts: includes/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 edba64d..59c6d13 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -686,5 +686,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);
}