vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1650349 - /vcl/trunk/web/.ht-inc/groups.php
Date Thu, 08 Jan 2015 18:26:16 GMT
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");
 			}



Mime
View raw message