Index: openacs-4/packages/courses/www/cc-admin/watch-association.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/courses/www/cc-admin/watch-association.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/courses/www/cc-admin/watch-association.tcl 4 Feb 2005 23:05:53 -0000 1.3 +++ openacs-4/packages/courses/www/cc-admin/watch-association.tcl 8 Feb 2005 23:07:53 -0000 1.4 @@ -11,13 +11,12 @@ } set page_title "[_ courses.watch_assoc]" -set context [list [list "/courses/cc-admin/course-list" "[_ courses.course_list]"] "[_ courses.watch_asoc]"] +set context [list [list course-list "[_ courses.course_list]"] "[_ courses.watch_assoc]"] -set user_id [auth::get_user_id] +set user_id [ad_conn user_id] # Check if users has admin permission to edit course_catalog permission::require_permission -party_id $user_id -object_id $course_id -privilege "admin" -set inlcludes "" db_multirow relations relation { }