diff options
author | Chris Smith <toonarmy@phpbb.com> | 2008-09-02 12:12:30 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2008-09-02 12:12:30 +0000 |
commit | 9b494dbcacd662510d935545357ee7f58e76dce6 (patch) | |
tree | 1925c01666fd192f02b4719fed4febde8f01c4aa /phpBB/includes | |
parent | 46dac33b82198ee459ccdfb7bb5514a7d480bb05 (diff) | |
download | forums-9b494dbcacd662510d935545357ee7f58e76dce6.tar forums-9b494dbcacd662510d935545357ee7f58e76dce6.tar.gz forums-9b494dbcacd662510d935545357ee7f58e76dce6.tar.bz2 forums-9b494dbcacd662510d935545357ee7f58e76dce6.tar.xz forums-9b494dbcacd662510d935545357ee7f58e76dce6.zip |
Allow setting birth year to current year
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8807 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index 8aacf8a244..7fdb25abfd 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -418,7 +418,7 @@ class ucp_profile $now = getdate(); $s_birthday_year_options = '<option value="0"' . ((!$data['bday_year']) ? ' selected="selected"' : '') . '>--</option>'; - for ($i = $now['year'] - 100; $i < $now['year']; $i++) + for ($i = $now['year'] - 100; $i <= $now['year']; $i++) { $selected = ($i == $data['bday_year']) ? ' selected="selected"' : ''; $s_birthday_year_options .= "<option value=\"$i\"$selected>$i</option>"; @@ -633,4 +633,4 @@ class ucp_profile } } -?>
\ No newline at end of file +?> |