Fix public access

This commit is contained in:
Laurent Destailleur 2023-07-02 20:33:10 +02:00
parent 4ca1796e61
commit df2b88a9d2

View file

@ -111,6 +111,10 @@ if (!$sortfield) {
* View
*/
if (empty($conf->global->MEMBER_PUBLIC_ENABLED)) {
httponly_accessforbidden('Public access of list of members is not enabled');
}
$form = new Form($db);
$morehead = '';