diff --git a/course/category.php b/course/category.php index 8ddcec21de7..5c872b06417 100644 --- a/course/category.php +++ b/course/category.php @@ -130,7 +130,7 @@ /// Editing functions - if ($adminediting) { + if ($creatorediting) { /// Move a specified course to a new category if (!empty($moveto) and $data = data_submitted() and confirm_sesskey()) { // Some courses are being moved