under valid only when there is no open multiple windows

skala
Juan Carlos Raña 15 years ago
parent aa840b0733
commit 10ca775c6d
  1. 5
      main/chat/chat.php

@ -51,11 +51,12 @@ if (!empty($mycourseid) && $mycourseid != -1) {
$cidreq = Security::remove_XSS($_GET['cidReq']);
$toolgroup = Security::remove_XSS($_GET['toolgroup']); //for change from chat group by vertical or horizontal menu to chat course
if (empty($toolgroup)){
$toolgroup = Security::remove_XSS($_GET['toolgroup']); //fix when change by vertical or horizontal menu from a chat group to chat course.
if (empty($toolgroup) && empty($open_chat_window)){
unset($_SESSION['_gid']);
}
?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Loading…
Cancel
Save