mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/13867] Add tests
PHPBB3-13867
This commit is contained in:
committed by
mrgoldy
parent
b1e1ee7d55
commit
b3f3886cd9
@@ -783,6 +783,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']];
|
||||
|
||||
$field_block = array(
|
||||
|
@@ -665,7 +665,7 @@ class manager
|
||||
* @param bool $active True to limit output to active profile fields, false for all
|
||||
* @return array Array with profile field ids as keys and idents as values
|
||||
*/
|
||||
private function list_profilefields($profilefield_type_name, $active=false)
|
||||
private function list_profilefields($profilefield_type_name, $active = false)
|
||||
{
|
||||
// Get list of profile fields affected by this operation, if any
|
||||
$profile_fields = array();
|
||||
|
Reference in New Issue
Block a user