]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14407 - supplimental - Deal with another way the category id can be in the URL...
authortjhunt <tjhunt>
Tue, 22 Apr 2008 14:06:58 +0000 (14:06 +0000)
committertjhunt <tjhunt>
Tue, 22 Apr 2008 14:06:58 +0000 (14:06 +0000)
question/category.php

index df3c5bb8911879df9d632aa9ecf274086288abfd..366e37cbae6775581802da3384f66b3b4ee4e112 100644 (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 {