1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-25 20:45:16 +02:00

[ticket/11700] Correctly generate lang key from avatar driver class

PHPBB3-11700
This commit is contained in:
Nils Adermann
2013-09-16 05:36:21 +02:00
parent d905358e2b
commit fcd36ddd1f

View File

@ -264,7 +264,7 @@ class manager
$config_name = $this->get_driver_config_name($driver);
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),
);
}