[feature/avatars] Fixing typos in avatar manager and local avatars

See above

PHPBB3-10018
This commit is contained in:
Cullen Walsh 2011-06-15 12:38:17 -07:00 committed by Cullen Walsh
parent 84099e5bc1
commit 6d0f2e4788
2 changed files with 2 additions and 2 deletions

View file

@ -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'],
));

View file

@ -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: