Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl,v diff -u -r1.16.2.1 -r1.16.2.2 --- openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl 21 Jul 2005 22:55:06 -0000 1.16.2.1 +++ openacs-4/packages/dotlrn-portlet/www/dotlrn-admin-portlet.tcl 24 Sep 2005 03:36:04 -0000 1.16.2.2 @@ -64,10 +64,11 @@ -package_key dotlrn-portlet \ -parameter AllowManageApplets] -if {$comm_type == "dotlrn_club"} { +if {$comm_type != [dotlrn_class::community_type]} { set club_p 1 } else { set club_p 0 + set term_name "[dotlrn_class::get_term_name -class_instance_id $community_id] [dotlrn_class::get_term_year -class_instance_id $community_id]" } set members_rel_id [dotlrn_community::get_members_rel_id -community_id $community_id]