Fixed bug #504
https://doliforge.org/tracker/?func=detail&aid=504&atid=246&group_id=144
This commit is contained in:
parent
eb24a2fb4d
commit
8639f1a414
@ -36,7 +36,7 @@ $langs->load("admin");
|
||||
$langs->load("products");
|
||||
|
||||
// Security check
|
||||
if (! $user->admin || empty($conf->product->enabled))
|
||||
if (! $user->admin || (empty($conf->product->enabled) && empty($conf->service->enabled)))
|
||||
accessforbidden();
|
||||
|
||||
$action = GETPOST('action','alpha');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user