mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted.
This commit is contained in:
parent
b4c8d1ea9c
commit
a56d98597e
@ -60,6 +60,7 @@
|
||||
list($tocategoryid, $tocontextid) = explode(',', $formdata->category);
|
||||
$qcobject->move_questions_and_delete_category($formdata->delete, $tocategoryid);
|
||||
$thispageurl->remove_params('cat');
|
||||
$thispageurl->remove_params('category'); // TODO check in fix for bug 5353
|
||||
redirect($thispageurl->out());
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user