1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/avatars] Fix local and upload avatar in the ACP

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-18 23:11:40 +01:00
parent 959bc183bf
commit c2ba24558f
3 changed files with 7 additions and 7 deletions

View File

@@ -91,11 +91,12 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
$template->assign_block_vars('av_local_row.av_local_col', array(
'AVATAR_IMAGE' => $this->phpbb_root_path . $this->config['avatar_gallery_path'] . '/' . $img['file'],
'AVATAR_NAME' => $img['name'],
'AVATAR_FILE' => $img['filename'],
'AVATAR_NAME' => $img['name'],
'AVATAR_FILE' => $img['filename'],
));
$template->assign_block_vars('av_local_row.av_local_option', array(
'AVATAR_FILE' => $img['filename'],
'S_OPTIONS_AVATAR' => $img['filename']
));