diff --git a/types/User.php b/types/User.php index feafad65..57789cdf 100644 --- a/types/User.php +++ b/types/User.php @@ -76,9 +76,10 @@ public function handleAjax() if ( !auth_isMember( - $conf['plugin']['struct']['allow_username_autocomplete'], - $_SERVER['REMOTE_USER'], - (array) $USERINFO['grps']) + $conf['plugin']['struct']['allow_username_autocomplete'], + $_SERVER['REMOTE_USER'], + (array) $USERINFO['grps'] + ) ) { return []; }