Clean code

This commit is contained in:
Laurent Destailleur
2020-01-28 19:47:21 +01:00
parent c87fdc96ce
commit 9ae174d8b4
2 changed files with 9 additions and 0 deletions

View File

@@ -150,6 +150,12 @@ class DolibarrApi
unset($object->context);
unset($object->next_prev_filter);
unset($object->region);
unset($object->region_code);
unset($object->libelle_statut);
unset($object->libelle_paiement);
if ($object->table_element != 'ticket') {
unset($object->comments);
}