MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted.

This commit is contained in:
tjhunt
2008-04-22 14:06:57 +00:00
parent a2067bf38d
commit afe83312b2
+1
View File
@@ -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 {