From: tjhunt Date: Thu, 6 Jul 2006 10:07:26 +0000 (+0000) Subject: 6030 - Can't move question categories back to the top level. Merged from MOODLE_16_ST... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=68d07f8b01082f63e397fac3b81641cee4915e03;p=moodle.git 6030 - Can't move question categories back to the top level. Merged from MOODLE_16_STABLE. --- diff --git a/question/category.php b/question/category.php index 77453d4a6e..c0ef9ef01a 100644 --- a/question/category.php +++ b/question/category.php @@ -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);