1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 22:41:28 +02:00

[ticket/11360] Avoiding online list where not required

PHPBB3-11360
This commit is contained in:
geetakshi
2014-03-20 17:15:43 +05:30
parent 18bed2ea47
commit 5afb06102b
5 changed files with 8 additions and 8 deletions

View File

@@ -77,9 +77,9 @@ class helper
* @param int $status_code The status code to be sent to the page header
* @return Response object containing rendered page
*/
public function render($template_file, $page_title = '', $status_code = 200)
public function render($template_file, $page_title = '', $status_code = 200, $display_online_list = false)
{
page_header($page_title, true);
page_header($page_title, $display_online_list);
$this->template->set_filenames(array(
'body' => $template_file,