Fix travis

This commit is contained in:
Laurent Destailleur 2024-06-07 23:46:21 +02:00
parent a3e7151633
commit 72a2a96063

View file

@ -85,9 +85,9 @@ $searchkey = (($id && GETPOST($id, 'alpha')) ? GETPOST($id, 'alpha') : (($htmlna
// Add a security test to avoid to get content of all tables
if (!empty($objecttmp->module)) {
restrictedArea($user, $objecttmp->module, $id, $objecttmp->table_element, $objecttmp->element);
}else {
restrictedArea($user, $objecttmp->element, $id);
restrictedArea($user, $objecttmp->module, $id, $objecttmp->table_element, $objecttmp->element);
} else {
restrictedArea($user, $objecttmp->element, $id);
}
$arrayresult = $form->selectForFormsList($objecttmp, $htmlname, '', 0, $searchkey, '', '', '', 0, 1);