1
0
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:
Meik Sievertsen
2006-06-15 15:16:33 +00:00
parent a161503f2a
commit 86cc481f1c

View File

@@ -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: