Merge branch 'CT7396' of https://github.com/danbarretodev/chamilo-lms into danbarretodev-CT7396

1.9.x
Yannick Warnier 10 years ago
commit dd3c22b68e
  1. 2
      main/calendar/agenda_js.php

@ -41,7 +41,7 @@ if (api_is_platform_admin() && ($type == 'admin' || $type == 'platform')) {
}
if (isset($_REQUEST['cidReq']) && !empty($_REQUEST['cidReq'])) {
if ($_REQUEST['cidReq'] < 1) {
if ($_REQUEST['cidReq'] == -1) {
// When is out of the course tool (e.g My agenda)
header('Location: ' . api_get_self());
exit;

Loading…
Cancel
Save