From ae595255554d08aa0507b5d82f9204aba5f8babe Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sat, 26 May 2007 00:23:24 +0200 Subject: [PATCH] [svn r12471] Fixed problem in category sorting introduced by last commit --- main/auth/courses.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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);