mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
mnet MDL-21582 fix peer service page redirection with a moodle_url
This commit is contained in:
parent
c044e281b5
commit
e2c4313253
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ if ($formdata = $mform->get_data()) {
|
||||||
$DB->update_record('mnet_host2service', $host2service);
|
$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();
|
admin_externalpage_print_header();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue