6030 - Can't move question categories back to the top level. Merged from MOODLE_16_STABLE.

This commit is contained in:
tjhunt 2006-07-06 10:07:26 +00:00
parent 84a9db331f
commit 68d07f8b01

View 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);