Skip to content
Snippets Groups Projects
Commit 6729cd9b authored by Regis Houssin's avatar Regis Houssin
Browse files

Merge pull request #330 from marcosgdf/fix-bug-504

Fixed bug #504
parents 95c23129 8639f1a4
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment