mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix: declare entity before using it
This commit is contained in:
parent
0bac63ffbc
commit
bcf7031a04
|
|
@ -59,6 +59,7 @@ if ($mode == 'searchkey') {
|
|||
$transvalue = GETPOST('transvalue', 'restricthtml');
|
||||
}
|
||||
|
||||
$entity = $conf->entity;
|
||||
if (isModEnabled('multicompany') && !$user->entity) {
|
||||
$entity = GETPOST('entity', 'int');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user