summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/notary.inc.php4
-rw-r--r--www/wot.php2
2 files changed, 3 insertions, 3 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);
}
diff --git a/www/wot.php b/www/wot.php
index 9deded5..daba46a 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -250,7 +250,7 @@ $iecho= "c";
exit;
}
- if(!check_date_differnce(trim($_REQUEST['date'])))
+ if(!check_date_difference(trim($_REQUEST['date'])))
{
show_page("VerifyData","",_("You must not enter a date in the future."));
exit;