From c6a654e85939a187c5ea466c92d7332ebb70d9e0 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Wed, 22 Jul 2015 13:55:26 +0200 Subject: [PATCH] [ticket/14043] Add dispatcher to globals, change @since value PHPBB3-14043 --- phpBB/includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 533bab8936..b31a45276f 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4766,7 +4766,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false) { global $user, $config, $cache, $phpbb_root_path, $phpEx; global $request; - global $phpbb_container; + global $phpbb_container, $phpbb_dispatcher; if (!$config['allow_avatar'] && !$ignore_config) { @@ -4811,7 +4811,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false) * * @event core.get_avatar_after * @var string html The HTML tag of generated avatar - * @since 3.1.6 + * @since 3.1.6-RC1 */ $vars = array('html'); extract($phpbb_dispatcher->trigger_event('core.get_avatar_after', compact($vars)));