diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-20 15:13:13 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-24 17:26:27 +0200 |
| commit | c2dace762ec295c7a2d67758006b1fff56f1f573 (patch) | |
| tree | 5717be8bfd7de174b7435f7c729250d4e115fa0c /phpBB/includes/functions_content.php | |
| parent | 8599554443deee1d655ffc4ae0ad97c60ba0a123 (diff) | |
| download | forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar.gz forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar.bz2 forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar.xz forums-c2dace762ec295c7a2d67758006b1fff56f1f573.zip | |
[ticket/12273] Fix long $vars lines for existing events
PHPBB3-12273
Diffstat (limited to 'phpBB/includes/functions_content.php')
| -rw-r--r-- | phpBB/includes/functions_content.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index b1f69c5756..bd711541c2 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -1410,7 +1410,8 @@ function get_username_string($mode, $user_id, $username, $username_colour = '', * @var array _profile_cache Array of original return templates * @since 3.1-A1 */ - $vars = array('mode', 'user_id', 'username', 'username_colour', 'guest_username', 'custom_profile_url', 'username_string', '_profile_cache'); + $vars = array('mode', 'user_id', 'username', 'username_colour', 'guest_username'); + $vars = array_merge($vars, array('custom_profile_url', 'username_string', '_profile_cache')); extract($phpbb_dispatcher->trigger_event('core.modify_username_string', compact($vars))); return $username_string; |
