]> git.mjollnir.org Git - moodle.git/commitdiff
6030 - Can't move question categories back to the top level. Merged from MOODLE_16_ST...
authortjhunt <tjhunt>
Thu, 6 Jul 2006 10:07:26 +0000 (10:07 +0000)
committertjhunt <tjhunt>
Thu, 6 Jul 2006 10:07:26 +0000 (10:07 +0000)
question/category.php

index 77453d4a6e914e2b37bbc94495a47dc08da0a47e..c0ef9ef01a051f660c07263003ec871e9b50ccf0 100644 (file)
@@ -86,7 +86,7 @@
             $qcobject->move_category_up_down('down', $param->movedown);
         } else if (!empty($param->hide)) {
             $qcobject->publish_category(false, $param->hide);
-        } else if (!empty($param->move) and !empty($param->moveto)) {
+        } else if (!empty($param->move)) {
             $qcobject->move_category($param->move, $param->moveto);
         } else if (!empty($param->publish)) {
             $qcobject->publish_category(true, $param->publish);