Skip to content

Commit a0f983e

Browse files
committed
[ticket/17107] Fix PHP warning on legend output
This is a side issue revealed with the newly added viewonline functional test. In current master branch group legend is being dumped to template with the group helper->display_legend() method so plain LEGEND output is a leftover. PHPBB3-17107
1 parent fada5a8 commit a0f983e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

viewonline.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@
463463
$template->assign_vars(array(
464464
'TOTAL_REGISTERED_USERS_ONLINE' => $user->lang('REG_USERS_ONLINE', (int) $logged_visible_online, $user->lang('HIDDEN_USERS_ONLINE', (int) $logged_hidden_online)),
465465
'TOTAL_GUEST_USERS_ONLINE' => $user->lang('GUEST_USERS_ONLINE', (int) $guest_counter),
466-
'LEGEND' => $legend,
467466

468467
'U_SORT_USERNAME' => append_sid("{$phpbb_root_path}viewonline.$phpEx", 'sk=a&sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a') . '&sg=' . ((int) $show_guests)),
469468
'U_SORT_UPDATED' => append_sid("{$phpbb_root_path}viewonline.$phpEx", 'sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a') . '&sg=' . ((int) $show_guests)),

0 commit comments

Comments
 (0)