mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
check for correct entered date for date profile field
git-svn-id: file:///svn/phpbb/trunk@6070 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -113,6 +113,11 @@ class custom_profile
|
||||
{
|
||||
return 'FIELD_INVALID_DATE';
|
||||
}
|
||||
|
||||
if (!checkdate($month, $day, $year) === false)
|
||||
{
|
||||
return 'FIELD_INVALID_DATE';
|
||||
}
|
||||
break;
|
||||
|
||||
case FIELD_BOOL:
|
||||
|
Reference in New Issue
Block a user