diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index 5c39d2e1845..5d7ac74e85c 100644 --- a/mod/chat/gui_header_js/jsupdate.php +++ b/mod/chat/gui_header_js/jsupdate.php @@ -62,8 +62,8 @@ $chat_newrow = ($chat_lastrow + $num) % 2; // no & in url, does not work in header! - $refreshurl = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdate.php?chat_sid=$chat_sid&chat_lasttime=$chat_newlasttime&chat_lastrow=$chat_newrow"; - $refreshurlamp = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdate.php?chat_sid=$chat_sid&chat_lasttime=$chat_newlasttime&chat_lastrow=$chat_newrow"; + $refreshurl = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdate.php?chat_sid=$chat_sid&chat_lasttime=$chat_newlasttime&chat_lastrow=$chat_newrow"; + $refreshurlamp = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdate.php?chat_sid=$chat_sid&chat_lasttime=$chat_newlasttime&chat_lastrow=$chat_newrow"; header('Expires: Sun, 28 Dec 1997 09:32:45 GMT'); header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); @@ -90,7 +90,7 @@ @@ -155,7 +161,7 @@ // support HTTP Keep-Alive header("Content-Length: " . ob_get_length() ); -ob_end_flush(); +ob_end_flush(); exit; diff --git a/mod/chat/gui_header_js/users.php b/mod/chat/gui_header_js/users.php index df65d5d2dd7..60453d53962 100644 --- a/mod/chat/gui_header_js/users.php +++ b/mod/chat/gui_header_js/users.php @@ -114,7 +114,7 @@ $strbeep = get_string('beep', 'chat'); - echo '
'; + echo ''; echo '