mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/avatars] Fixing typos in avatar manager and local avatars
See above PHPBB3-10018
This commit is contained in:
committed by
Cullen Walsh
parent
84099e5bc1
commit
6d0f2e4788
@@ -70,7 +70,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
|
||||
foreach ($avatar_list[$category] as $img => $data)
|
||||
{
|
||||
$template->assign_block_vars('av_local_imgs', array(
|
||||
'AVATAR_IMAGE' => $path . '/' . $data['file'],
|
||||
'AVATAR_IMAGE' => $this->phpbb_root_path . $this->config['avatar_gallery_path'] . '/' . $data['file'],
|
||||
'AVATAR_NAME' => $data['name'],
|
||||
'AVATAR_FILE' => $data['filename'],
|
||||
));
|
||||
|
@@ -50,7 +50,7 @@ class phpbb_avatar_manager
|
||||
// Legacy stuff...
|
||||
switch ($avatar_type)
|
||||
{
|
||||
case AVATAR_LOCAL:
|
||||
case AVATAR_GALLERY:
|
||||
$avatar_type = 'local';
|
||||
break;
|
||||
case AVATAR_UPLOAD:
|
||||
|
Reference in New Issue
Block a user