Skip to content

Commit

Permalink
Fix agenda creation see #8020
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Dec 29, 2015
1 parent b78ea79 commit 8a29439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/calendar/agenda_js.php
Expand Up @@ -14,7 +14,7 @@
$type = isset($_REQUEST['type']) && in_array($_REQUEST['type'], array('personal', 'course', 'admin', 'platform')) ? $_REQUEST['type'] : 'personal';
$userId = isset($_REQUEST['user_id']) ? $_REQUEST['user_id'] : null;

if ($type == 'personal') {
if ($type == 'personal' || $type == 'admin') {
$cidReset = true; // fixes #5162
}
require_once '../inc/global.inc.php';
Expand Down

0 comments on commit 8a29439

Please sign in to comment.