You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2015/01/08 19:26:16 UTC
svn commit: r1650349 - /vcl/trunk/web/.ht-inc/groups.php
Author: jfthomps
Date: Thu Jan 8 18:26:15 2015
New Revision: 1650349
URL: http://svn.apache.org/r1650349
Log:
VCL-655 - Manage groups - create a default or none user group
groups.php: modified editOrAddGroup: fixed problem with conditional that ensures user can see the owning user group; changed $usergroups[$groupid]['editgroupid'] to $ownerid
Modified:
vcl/trunk/web/.ht-inc/groups.php
Modified: vcl/trunk/web/.ht-inc/groups.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/groups.php?rev=1650349&r1=1650348&r2=1650349&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/groups.php (original)
+++ vcl/trunk/web/.ht-inc/groups.php Thu Jan 8 18:26:15 2015
@@ -807,7 +807,7 @@ function editOrAddGroup($state) {
if($submitErr & EDITGROUPERR)
$ownerid = $resourcegroups[$groupid]['ownerid'];
if($state == 0 && $ownerid != '' &&
- ! array_key_exists($usergroups[$groupid]['editgroupid'], $dispUserGrpIDs)) {
+ ! array_key_exists($ownerid, $dispUserGrpIDs)) {
$dispUserGrpIDs[$ownerid] = $usergroups[$ownerid]['name'];
uasort($dispUserGrpIDs, "sortKeepIndex");
}