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 ab212d3 commit 6c8c24bCopy full SHA for 6c8c24b
main/gradebook/gradebook_add_result.php
@@ -8,6 +8,17 @@
8
api_protect_course_script(true);
9
api_block_anonymous_users();
10
GradebookUtils::block_students();
11
+
12
+if (isset($_GET['import'])) {
13
+ $queryString = $_SERVER['QUERY_STRING'];
14
+ $webPath = api_get_path(WEB_CODE_PATH);
15
+ $newUrl = $webPath . 'gradebook/gradebook_view_result.php';
16
+ if (!empty($queryString)) {
17
+ $newUrl .= '?' . $queryString;
18
+ }
19
+ header("Location: $newUrl");
20
+ exit;
21
+}
22
23
$selectEval = isset($_GET['selecteval']) ? (int) $_GET['selecteval'] : 0;
24
0 commit comments