Commit b650d781 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic

Bug 1803194: Need to include the user object

behatnotneeded

Change-Id: Ia7cd266ab5552e14a14f0ec3412448a249a06af9
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit b77049b2)
(cherry picked from commit d6d5591b)
parent 4ab3cf83
......@@ -399,6 +399,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