Commit 1dcd1a07 authored by Johannes Burk's avatar Johannes Burk
Browse files

MDL-59799 course: Include course/lib.php before using move_courses().

parent b3cfb013
......@@ -1839,6 +1839,7 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate {
if ($coursesids) {
if (!move_courses($coursesids, $newparentid)) {
if ($showfeedback) {
echo $OUTPUT->notification("Error moving courses");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment