mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
072615dc6e
commit
1c3b3621db
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue