diff --git a/mod/chat/gui_header_js/insert.php b/mod/chat/gui_header_js/insert.php index 93f93c16e58..13c6c0834d2 100644 --- a/mod/chat/gui_header_js/insert.php +++ b/mod/chat/gui_header_js/insert.php @@ -70,7 +70,7 @@ if ($chatuser->version == 'header_js') { 'name' => 'mod_chat_header', 'fullpath' => '/mod/chat/gui_header_js/module.js' ); - $PAGE->requires->js_init_call('M.mod_chat_header.init_insert_nojsupdated', null, array($forcerefreshasap), $module); + $PAGE->requires->js_init_call('M.mod_chat_header.init_insert_nojsupdated', array($forcerefreshasap), true, $module); } redirect('../empty.php'); \ No newline at end of file