From afe83312b276c5cb2c0b5409fc9fedcd6c6e076a Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 22 Apr 2008 14:06:57 +0000 Subject: [PATCH] MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted. --- question/category.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/category.php b/question/category.php index 65b673e9e20..85aba2e605d 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 {