Update index.php
This commit is contained in:
parent
1c99bd7c4a
commit
74372a3bae
@ -34,7 +34,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_parser.class.php';
|
||||
|
||||
$type = GETPOST("type", 'int');
|
||||
if ($type == '' && !$user->rights->produit->lire) {
|
||||
if ($type == '' && empty($user->rights->produit->lire)) {
|
||||
$type = '1'; // Force global page on service page only
|
||||
}
|
||||
if ($type == '' && empty($user->rights->service->lire)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user