mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-24 17:03:27 +03:00
Do not apply the limitation of customers if the corresponding setting is disabled
This commit is contained in:
parent
784d4b35a4
commit
f23c9aad49
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Permissions {
|
|||
|
||||
$limit_customer_access = setting('limit_customer_access');
|
||||
|
||||
if ($role_slug === DB_SLUG_ADMIN)
|
||||
if ($role_slug === DB_SLUG_ADMIN || ! $limit_customer_access)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue