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 2017/05/24 14:06:44 UTC
svn commit: r1796064 - /vcl/trunk/web/.ht-inc/groups.php
Author: jfthomps
Date: Wed May 24 14:06:44 2017
New Revision: 1796064
URL: http://svn.apache.org/viewvc?rev=1796064&view=rev
Log:
VCL-1050 - Adding a new user group doesn't include the affiliation of the default owner
group.php: modified editOrAddGroup: modified default for $data['owner'] when adding a new user group to include affiliation
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=1796064&r1=1796063&r2=1796064&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/groups.php (original)
+++ vcl/trunk/web/.ht-inc/groups.php Wed May 24 14:06:44 2017
@@ -557,7 +557,7 @@ function editOrAddGroup($state) {
if($state) {
$data["name"] = '';
$data["affiliationid"] = $user['affiliationid'];
- $data["owner"] = $user['unityid'];
+ $data["owner"] = "{$user['unityid']}@{$user['affiliation']}";
if(array_key_exists('VCLEDITGROUPID', $_COOKIE) &&
(array_key_exists($_COOKIE['VCLEDITGROUPID'], $affilusergroups) ||
$_COOKIE['VCLEDITGROUPID'] == $defaultusergroupid))