diff --git a/main/auth/courses.php b/main/auth/courses.php index 5d7c3cd24b..2412363497 100644 --- a/main/auth/courses.php +++ b/main/auth/courses.php @@ -1,4 +1,4 @@ -$category_details) + foreach ($user_coursecategories as $key=>$category_id) { - if ($category2move==$category_details['id']) + if ($category2move==$category_id) { // source_course is the course where we clicked the up or down icon //$source_category=get_user_course_category($category2move);