commit
6729cd9b4b
@ -36,7 +36,7 @@ $langs->load("admin");
|
|||||||
$langs->load("products");
|
$langs->load("products");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (! $user->admin || empty($conf->product->enabled))
|
if (! $user->admin || (empty($conf->product->enabled) && empty($conf->service->enabled)))
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|
||||||
$action = GETPOST('action','alpha');
|
$action = GETPOST('action','alpha');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user