diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-16 05:36:21 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-16 05:36:21 +0200 |
commit | fcd36ddd1f7c8a8b224423dca7599addbdaf1f57 (patch) | |
tree | 279313d48c119feff18190fb3dd62ce785b852b8 /phpBB/phpbb | |
parent | d905358e2be11cc3fe040036b1138e54be7f30dc (diff) | |
download | forums-fcd36ddd1f7c8a8b224423dca7599addbdaf1f57.tar forums-fcd36ddd1f7c8a8b224423dca7599addbdaf1f57.tar.gz forums-fcd36ddd1f7c8a8b224423dca7599addbdaf1f57.tar.bz2 forums-fcd36ddd1f7c8a8b224423dca7599addbdaf1f57.tar.xz forums-fcd36ddd1f7c8a8b224423dca7599addbdaf1f57.zip |
[ticket/11700] Correctly generate lang key from avatar driver class
PHPBB3-11700
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/avatar/manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/avatar/manager.php b/phpBB/phpbb/avatar/manager.php index 717ba00ed7..5d7f8f1b8f 100644 --- a/phpBB/phpbb/avatar/manager.php +++ b/phpBB/phpbb/avatar/manager.php @@ -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), ); } |