mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11700] Correctly generate lang key from avatar driver class
PHPBB3-11700
This commit is contained in:
parent
d905358e2b
commit
fcd36ddd1f
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class manager
|
||||||
$config_name = $this->get_driver_config_name($driver);
|
$config_name = $this->get_driver_config_name($driver);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'allow_avatar_' . $config_name => array('lang' => 'ALLOW_' . strtoupper($config_name), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
|
'allow_avatar_' . $config_name => array('lang' => 'ALLOW_' . strtoupper(str_replace('\\', '_', $config_name)), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue