From ccfce8ee1f2cb00828bc2752437b575a77570a0e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 28 Jul 2019 16:09:17 -0600 Subject: [PATCH] Update groups.php --- resources/classes/groups.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/classes/groups.php b/resources/classes/groups.php index e3d095c3e3..69b3e4249b 100644 --- a/resources/classes/groups.php +++ b/resources/classes/groups.php @@ -88,8 +88,8 @@ if (!class_exists('groups')) { $result = $database->select($sql, null, 'all'); if (count($result) == 0) { $x = 0; - $array['groups']['group_uuid'] = uuid(); - $array['groups']['domain_uuid'] = null; + $array['groups'][$x]['group_uuid'] = uuid(); + $array['groups'][$x]['domain_uuid'] = null; $array['groups'][$x]['group_name'] = 'superadmin'; $array['groups'][$x]['group_level'] = '80'; $array['groups'][$x]['group_description'] = 'Super Administrator Group';