mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 23:20:22 +01:00
Merge pull request #4555 from javiexin/ticket/14888
[ticket/14888] Missing check for disabled profile field types * javiexin/ticket/14888: [ticket/14888] Missing check for disabled profile field types
This commit is contained in:
commit
533d2b90b8
@ -752,6 +752,10 @@ class acp_profile
|
||||
$s_one_need_edit = true;
|
||||
}
|
||||
|
||||
if (!isset($this->type_collection[$row['field_type']]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
$profile_field = $this->type_collection[$row['field_type']];
|
||||
$template->assign_block_vars('fields', array(
|
||||
'FIELD_IDENT' => $row['field_ident'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user