Index: openacs-4/packages/acs-subsite/tcl/group-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/group-procs.tcl,v diff -u -r1.39.2.3 -r1.39.2.4 --- openacs-4/packages/acs-subsite/tcl/group-procs.tcl 10 Sep 2015 08:21:36 -0000 1.39.2.3 +++ openacs-4/packages/acs-subsite/tcl/group-procs.tcl 20 Oct 2015 08:01:05 -0000 1.39.2.4 @@ -663,9 +663,12 @@ set admin_p [permission::permission_p -object_id $group_id -privilege "admin"] # Only admins can add non-membership_rel members - if { $rel_type eq "" || \ - (!$no_perm_check_p && $rel_type ne "" && $rel_type ne "membership_rel" && \ - ![permission::permission_p -object_id $group_id -privilege "admin"]) } { + if { $rel_type eq "" + || (!$no_perm_check_p + && $rel_type ne "" + && $rel_type ne "membership_rel" + && ![permission::permission_p -object_id $group_id -privilege "admin"]) + } { set rel_type "membership_rel" }