Update list.php
This commit is contained in:
parent
bd7dd2c627
commit
979a10fcb1
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ $object->fields = dol_sort_array($object->fields, 'position');
|
|||
$arrayfields = dol_sort_array($arrayfields, 'position');
|
||||
'@phan-var-force array<string,array{label:string,checked?:int<0,1>,position?:int,help?:string}> $arrayfields'; // dol_sort_array looses type for Phan
|
||||
|
||||
// Check only if it's an internal user, external users are already filterd by $socid
|
||||
// Check only if it's an internal user, external users are already filtered by $socid
|
||||
if (empty($user->socid) && !$user->hasRight('societe', 'client', 'voir')) {
|
||||
$search_sale = $user->id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue