Commit 7914cacf authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1803194: Need to include the user object"

parents 57ed297f b77049b2
......@@ -416,6 +416,7 @@ function group_create($data) {
// Need to make sure group has at least one member
if (empty($data['members'])) {
global $USER;
$data['members'] = array($USER->get('id') => 'admin');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment