1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[feature/avatars] Add missing assign_block_vars() for avatar options

This is needed for selecting the gallery avatar while using subsilver2.

PHPBB3-10018
This commit is contained in:
Marc Alexander 2012-11-18 20:45:51 +01:00
parent 072615dc6e
commit 1c3b3621db

View File

@ -95,6 +95,10 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
'AVATAR_FILE' => $img['filename'],
));
$template->assign_block_vars('av_local_row.av_local_option', array(
'S_OPTIONS_AVATAR' => $img['filename']
));
$col_count = ($col_count + 1) % $table_cols;
++$av_pos;