mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-22 16:40:21 +01:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15146] Date profile field validation incorrect
This commit is contained in:
commit
f579e75be0
@ -264,7 +264,7 @@ class type_date extends type_base
|
||||
}
|
||||
|
||||
$profile_row['s_year_options'] = '<option value="0"' . ((!$year) ? ' selected="selected"' : '') . '>--</option>';
|
||||
for ($i = $now['year'] - 100; $i <= $now['year'] + 100; $i++)
|
||||
for ($i = 1901; $i <= $now['year'] + 50; $i++)
|
||||
{
|
||||
$profile_row['s_year_options'] .= '<option value="' . $i . '"' . (($i == $year) ? ' selected="selected"' : '') . ">$i</option>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user