mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
* FIX REPLENISH MANY FOURN WHEN ORDER ALREADY CREATE (#29710) * fix restrictedArea on selectobject (#29882) * Fix travis * Fix : expense report reapproval email, wrong date format + missing parameter (#29874) * delete_linked_contact is < 0 in case of error --------- Co-authored-by: IC-Mathieu <95343351+IC-Mathieu@users.noreply.github.com> Co-authored-by: Rémi Champlon <85104766+Kazimir42@users.noreply.github.com> Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net> Co-authored-by: Maxime Kohlhaas <maxime@atm-consulting.fr> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -137,7 +137,11 @@ if ($usesublevelpermission && !isset($user->rights->$module->$element)) { // The
|
||||
$searchkey = (($id && GETPOST($id, 'alpha')) ? GETPOST($id, 'alpha') : (($htmlname && GETPOST($htmlname, 'alpha')) ? GETPOST($htmlname, 'alpha') : ''));
|
||||
|
||||
// Add a security test to avoid to get content of all tables
|
||||
restrictedArea($user, $objecttmp->element, $id);
|
||||
if (!empty($objecttmp->module)) {
|
||||
restrictedArea($user, $objecttmp->module, $id, $objecttmp->table_element, $objecttmp->element);
|
||||
} else {
|
||||
restrictedArea($user, $objecttmp->element, $id);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user