aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2012-11-18 20:45:51 +0100
committerMarc Alexander <admin@m-a-styles.de>2012-11-18 20:45:51 +0100
commit1c3b3621db7eda526388c0343946fa30c0223653 (patch)
treeea5620306621790022be8d1464d333c984366d80 /phpBB/includes/avatar/driver
parent072615dc6e6c1ccc47e43957c24ec211e7ca971e (diff)
downloadforums-1c3b3621db7eda526388c0343946fa30c0223653.tar
forums-1c3b3621db7eda526388c0343946fa30c0223653.tar.gz
forums-1c3b3621db7eda526388c0343946fa30c0223653.tar.bz2
forums-1c3b3621db7eda526388c0343946fa30c0223653.tar.xz
forums-1c3b3621db7eda526388c0343946fa30c0223653.zip
[feature/avatars] Add missing assign_block_vars() for avatar options
This is needed for selecting the gallery avatar while using subsilver2. PHPBB3-10018
Diffstat (limited to 'phpBB/includes/avatar/driver')
-rw-r--r--phpBB/includes/avatar/driver/local.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/avatar/driver/local.php b/phpBB/includes/avatar/driver/local.php
index e4648381c2..080921c325 100644
--- a/phpBB/includes/avatar/driver/local.php
+++ b/phpBB/includes/avatar/driver/local.php
@@ -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;