mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-31263 lib/ajax/blocks.php fix nonsensical url
This commit is contained in:
parent
ee5855687e
commit
70b36b488b
@ -39,7 +39,7 @@ $bui_beforeid = optional_param('bui_beforeid', 0, PARAM_INT);
|
||||
|
||||
// Setting pagetype and URL
|
||||
$PAGE->set_pagetype($pagetype);
|
||||
$PAGE->set_url($CFG->libdir.'/ajax/blocks.php', array('courseid' => $courseid, 'pagelayout' => $pagelayout, 'pagetype' => $pagetype));
|
||||
$PAGE->set_url('/lib/ajax/blocks.php', array('courseid' => $courseid, 'pagelayout' => $pagelayout, 'pagetype' => $pagetype));
|
||||
|
||||
// Verifying login and session
|
||||
$cm = null;
|
||||
@ -96,4 +96,4 @@ switch ($action) {
|
||||
$PAGE->blocks->process_url_move();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user