mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
mnet MDL-21582 fix peer service page redirection with a moodle_url
This commit is contained in:
parent
c044e281b5
commit
e2c4313253
@ -75,7 +75,8 @@ if ($formdata = $mform->get_data()) {
|
||||
$DB->update_record('mnet_host2service', $host2service);
|
||||
}
|
||||
}
|
||||
redirect('/admin/mnet/services.php?hostid=' . $hostid, get_string('changessaved'));
|
||||
$redirecturl = new moodle_url('/admin/mnet/services.php?hostid=' . $hostid);
|
||||
redirect($redirecturl, get_string('changessaved'));
|
||||
}
|
||||
|
||||
admin_externalpage_print_header();
|
||||
|
Loading…
x
Reference in New Issue
Block a user