mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/11201] Remove global use from admin class
PHPBB3-11201
This commit is contained in:
@@ -849,7 +849,7 @@ class acp_profile
|
||||
|
||||
// Build options based on profile type
|
||||
$function = 'get_' . $cp->profile_types[$field_type] . '_options';
|
||||
$options = $cp->$function();
|
||||
$options = $cp->$function($this->lang_defs);
|
||||
|
||||
foreach ($options as $num => $option_ary)
|
||||
{
|
||||
|
Reference in New Issue
Block a user