mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Temporary fix with set_url to remove annoying notices
This commit is contained in:
parent
4a8b890a1a
commit
46be7361ee
@ -38,6 +38,8 @@ $user = $USER;
|
||||
// TODO redirect if $CFG->useexternalblogs is off, $CFG->maxexternalblogsperuser == 0, or if user doesn't have caps to manage external blogs
|
||||
|
||||
$id = optional_param('id', null, PARAM_INT);
|
||||
$PAGE->set_url('/blog/external.php', array('id' => $id));
|
||||
|
||||
$returnurl = urldecode(optional_param('returnurl', $PAGE->url->out(), PARAM_RAW));
|
||||
$action = (empty($id)) ? 'add' : 'edit';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user