aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-04 18:26:52 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-04 18:26:52 +0000
commitc2085565789b4a5858ba9bb1189804b731cb2ab4 (patch)
tree11851950207e27073265bcbe5ee0f6275820b079 /phpBB/includes/functions_profile_fields.php
parent2cd7f67ed5bf9d591d6b99e5a41e3ea7f1b18bea (diff)
downloadforums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar
forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar.gz
forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar.bz2
forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar.xz
forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.zip
some bugfixes.
git-svn-id: file:///svn/phpbb/trunk@8138 89ea8834-ac86-4346-8a33-228a782c2dd0
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 cbad80e28e..82b78f99fe 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -113,7 +113,7 @@ class custom_profile
return 'FIELD_REQUIRED';
}
- if ($day < 0 || $day > 31 || $month < 0 || $month > 12 || ($year < 1901 && $year > 0) || $year > gmdate('Y', time()))
+ if ($day < 0 || $day > 31 || $month < 0 || $month > 12 || ($year < 1901 && $year > 0) || $year > gmdate('Y', time()) + 50)
{
return 'FIELD_INVALID_DATE';
}