summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/wot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/wot.php b/www/wot.php
index 40a60a6..e7a0f0d 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -202,7 +202,7 @@ function send_reminder()
$_SESSION['assuresomeone']['year'] = intval($_POST['year']);
$_SESSION['assuresomeone']['month'] = intval($_POST['month']);
$_SESSION['assuresomeone']['day'] = intval($_POST['day']);
- $dob = $_SESSION['assuresomeone']['year'] . '-' . sprintf('%02d',$_SESSION['assuresomeone']['month']) . '-' . sprintf('%02d', $_SESSION['assuresomeone']['day']);
+ $dob = sprintf('%04d-%02d-%02d', $_SESSION['assuresomeone']['year'], $_SESSION['assuresomeone']['month'], $_SESSION['assuresomeone']['day']);
if ( $_SESSION['_config']['notarise']['dob'] != $dob) {
show_page("EnterEmail","",_("The data entered is not matching with an account."));