We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a80c4e + 8202a69 commit 421c561Copy full SHA for 421c561
event/listener.php
@@ -146,7 +146,7 @@ public function viewonline_page($event)
146
// If any of our pages are being viewed, update the event vars with our routes and titles
147
foreach ($page_routes as $page_id => $page_data)
148
{
149
- if ($event['row']['session_page'] === 'app.' . $this->php_ext . DIRECTORY_SEPARATOR . $page_data['route'])
+ if ($event['row']['session_page'] === 'app.' . $this->php_ext . '/' . $page_data['route'])
150
151
$event['location'] = $this->lang->lang('PAGES_VIEWONLINE', $page_data['title']);
152
$event['location_url'] = $this->helper->route('phpbb_pages_dynamic_route_' . $page_id);
0 commit comments