aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewonline.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 48362a9d67..e709955653 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -317,6 +317,11 @@ while ($row = $db->sql_fetchrow($result))
default:
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
+
+ $vars = array('on_page', 'row', 'location', 'location_url');
+ $event = new phpbb_event_data(compact($vars));
+ $phpbb_dispatcher->dispatch('core.viewonline_location', $event);
+ extract($event->get_data_filtered($vars));
break;
}