FIX check stickler
This commit is contained in:
parent
5a2a6a07ea
commit
68174cf440
@ -380,7 +380,7 @@ class modSociete extends DolibarrModules
|
|||||||
if (! empty($conf->global->MULTICOMPANY_ENTITY_IN_EXPORT_IF_SHARED)) {
|
if (! empty($conf->global->MULTICOMPANY_ENTITY_IN_EXPORT_IF_SHARED)) {
|
||||||
if (!empty($conf->multicompany->enabled)) {
|
if (!empty($conf->multicompany->enabled)) {
|
||||||
$nbofallowedentities = count(explode(',', getEntity('socpeople')));
|
$nbofallowedentities = count(explode(',', getEntity('socpeople')));
|
||||||
if ($nbofallowedentities > 1) {
|
if ($nbofallowedentities > 1) {
|
||||||
$this->export_fields_array[$r]['c.entity'] = 'Entity';
|
$this->export_fields_array[$r]['c.entity'] = 'Entity';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user