Bugfix when renaming

This commit is contained in:
moodler
2003-08-11 02:07:17 +00:00
parent 4e56c82dab
commit 241ae0d52b
+1 -1
View File
@@ -89,7 +89,7 @@
/// Move a specified course to a new category
if ($data = data_submitted()) { // Some courses are being moved
if (isset($moveto) and $data = data_submitted()) { // Some courses are being moved
if (! $destcategory = get_record("course_categories", "id", $data->moveto)) {
error("Error finding the category");