aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php
index 2a9293a8e0..9910d58e5b 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -114,7 +114,7 @@ class custom_profile
return 'FIELD_INVALID_DATE';
}
- if (!checkdate($month, $day, $year) === false)
+ if (checkdate($month, $day, $year) === false)
{
return 'FIELD_INVALID_DATE';
}