From 241ae0d52b8ac2cfa51dcdb172df314cb90b18b0 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 11 Aug 2003 02:07:17 +0000 Subject: [PATCH] Bugfix when renaming --- course/category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/category.php b/course/category.php index 13401db51c..80c7a99c54 100644 --- a/course/category.php +++ b/course/category.php @@ -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"); -- 2.39.5