mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
my attempt to fix custom profile fields
- added the load settings for custom profile fields - re-added our famous make_clickable function - removed group_by clauses (due to the lang id selection the group by clause is no more needed) I hope that i have not just created new bugs. ;) git-svn-id: file:///svn/phpbb/trunk@5712 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -314,7 +314,7 @@ class acp_profile
|
||||
}
|
||||
|
||||
$cp->vars['field_ident'] = request_var('field_ident', $field_row['field_ident']);
|
||||
$cp->vars['lang_name'] = request_var('field_ident', $field_row['lang_name']);
|
||||
$cp->vars['lang_name'] = request_var('lang_name', $field_row['lang_name']);
|
||||
$cp->vars['lang_explain'] = request_var('lang_explain', $field_row['lang_explain']);
|
||||
$cp->vars['lang_default_value'] = request_var('lang_default_value', $field_row['lang_default_value']);
|
||||
|
||||
@@ -450,7 +450,7 @@ class acp_profile
|
||||
|
||||
foreach ($exclude[3] as $key)
|
||||
{
|
||||
$cp->vars[$key] = request_var($key, '');
|
||||
$cp->vars[$key] = request_var($key, array(0 => ''));
|
||||
|
||||
if (!$cp->vars[$key] && $action == 'edit')
|
||||
{
|
||||
|
Reference in New Issue
Block a user