mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
- removed db cache (might re-appear, but for now we do not see the need for it)
- all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -340,11 +340,16 @@ class ucp_profile
|
||||
$error = preg_replace('#^([A-Z_]+)$#e', "(!empty(\$user->lang['\\1'])) ? \$user->lang['\\1'] : '\\1'", $error);
|
||||
}
|
||||
|
||||
$bday_day = $bday_month = $bday_year = 0;
|
||||
|
||||
if ($user->data['user_birthday'])
|
||||
if (!isset($bday_day))
|
||||
{
|
||||
list($bday_day, $bday_month, $bday_year) = explode('-', $user->data['user_birthday']);
|
||||
if ($user->data['user_birthday'])
|
||||
{
|
||||
list($bday_day, $bday_month, $bday_year) = explode('-', $user->data['user_birthday']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$bday_day = $bday_month = $bday_year = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$s_birthday_day_options = '<option value="0"' . ((!$bday_day) ? ' selected="selected"' : '') . '>--</option>';
|
||||
|
Reference in New Issue
Block a user