From: tjhunt Date: Tue, 22 Apr 2008 14:06:58 +0000 (+0000) Subject: MDL-14407 - supplimental - Deal with another way the category id can be in the URL... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a56d98597e636117ced200792e35077d757eb17c;p=moodle.git MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted. --- diff --git a/question/category.php b/question/category.php index df3c5bb891..366e37cbae 100644 --- a/question/category.php +++ b/question/category.php @@ -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 {