summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-07-22 06:30:30 +0200
committerBenny Baumann <BenBE@geshi.org>2013-07-22 06:30:30 +0200
commit5ee8783a5b5012d89ce3ea040a8ad5a14fb2dbbe (patch)
tree7f5025a0f7de574fca6bb0fa43d093960d8369b6 /includes
parente32654f68998e66ac537bdbb438e5e3bc74bb8cb (diff)
downloadcacert-devel-5ee8783a5b5012d89ce3ea040a8ad5a14fb2dbbe.tar.gz
cacert-devel-5ee8783a5b5012d89ce3ea040a8ad5a14fb2dbbe.tar.xz
cacert-devel-5ee8783a5b5012d89ce3ea040a8ad5a14fb2dbbe.zip
bug 1137: Fix typo in check_date_difference
Diffstat (limited to 'includes')
-rw-r--r--includes/notary.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 508b6ad..32839fe 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -829,13 +829,13 @@
}
/**
- * check_date_differnce()
+ * check_date_difference()
* returns false if the date is larger then today + time diffrence
*
* @param mixed $date
* @param integer $diff
* @return
*/
- function check_date_differnce($date, $diff=1){
+ function check_date_difference($date, $diff=1){
return (strtotime($date)<=time()+$diff*86400);
}