Index: openacs-4/packages/dotlrn/www/user-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/user-add.tcl,v diff -u -r1.32.2.1 -r1.32.2.2 --- openacs-4/packages/dotlrn/www/user-add.tcl 31 May 2005 23:13:06 -0000 1.32.2.1 +++ openacs-4/packages/dotlrn/www/user-add.tcl 4 Dec 2006 15:32:07 -0000 1.32.2.2 @@ -43,10 +43,10 @@ set current_user_id [ad_maybe_redirect_for_registration] set community_id [dotlrn_community::get_community_id] -# If can_browse_p is 0, this means the new user would be able to join -# all communities. It requires a site-wide administrator to add such a user. +# If can_browse_p is 1, this means the new user would be able to join +# all communities. -if {![empty_string_p $community_id] && $can_browse_p == 0} { +if {![empty_string_p $community_id]} { dotlrn::require_user_admin_community -community_id [dotlrn_community::get_community_id] set context [list [list "one-community-admin" [_ dotlrn.Admin]] [_ dotlrn.Add_User]] set community_p 1