We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d467dae commit 13f196eCopy full SHA for 13f196e
main/inc/ajax/announcement.ajax.php
@@ -6,10 +6,11 @@
6
*/
7
require_once __DIR__.'/../global.inc.php';
8
9
-$action = isset($_REQUEST['a']) ? $_REQUEST['a'] : null;
+$action = $_REQUEST['a'] ?? null;
10
11
$isAllowedToEdit = api_is_allowed_to_edit();
12
$courseInfo = api_get_course_info();
13
+$courseCode = api_get_course_id();
14
$courseId = api_get_course_int_id();
15
$groupId = api_get_group_id();
16
$sessionId = api_get_session_id();
0 commit comments