From: moodler Date: Mon, 11 Aug 2003 02:07:17 +0000 (+0000) Subject: Bugfix when renaming X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=241ae0d52b8ac2cfa51dcdb172df314cb90b18b0;p=moodle.git Bugfix when renaming --- 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");