aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Remote/Api.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Remote/Api.php')
-rw-r--r--inc/Remote/Api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Remote/Api.php b/inc/Remote/Api.php
index 8ff38eadb..2a0178e8f 100644
--- a/inc/Remote/Api.php
+++ b/inc/Remote/Api.php
@@ -277,7 +277,7 @@ class Api
return true;
}
- return auth_isMember($conf['remoteuser'], $INPUT->server->str('REMOTE_USER'), (array) $USERINFO['grps']);
+ return auth_isMember($conf['remoteuser'], $INPUT->server->str('REMOTE_USER'), (array) ($USERINFO['grps'] ?? []));
}
/**