Index: openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl,v diff -u -r1.28 -r1.29 --- openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl 15 May 2002 22:39:42 -0000 1.28 +++ openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl 15 May 2002 23:56:00 -0000 1.29 @@ -145,11 +145,12 @@ # we only need to check for community_id in the ns_set set community_id [ns_set get $args "community_id"] - if {![empty_string_p $community_id]} { + if {![empty_string_p $community_id] + && ![dotlrn_community::dummy_comm_p -community_id $community_id]} { # portal_id is a community portal # set up the DS for the admin page - set admin_portal_id [dotlrn_community::get_admin_portal_id \ - -community_id $community_id] + set admin_portal_id [dotlrn_community::get_admin_portal_id \ + -community_id $community_id] dotlrn_admin_portlet::add_self_to_page \ -portal_id $admin_portal_id \ -community_id $community_id