mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/avatars] Fixing typos in avatar manager and local avatars
See above PHPBB3-10018
This commit is contained in:
parent
84099e5bc1
commit
6d0f2e4788
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue