work on members
This commit is contained in:
parent
f721338bd8
commit
ec6568ffbe
@ -415,7 +415,6 @@ class Members extends DolibarrApi
|
||||
protected function _cleanObjectDatas($object)
|
||||
{
|
||||
// phpcs:enable
|
||||
$object = parent::_cleanObjectDatas($object);
|
||||
|
||||
// Remove the subscriptions because they are handled as a subresource.
|
||||
unset($object->subscriptions);
|
||||
@ -429,7 +428,10 @@ class Members extends DolibarrApi
|
||||
unset($object->total_ttc);
|
||||
unset($object->total_tva);
|
||||
unset($object->total_localtax1);
|
||||
unset($object->total_localtax2);
|
||||
unset($object->total_localtax2);
|
||||
|
||||
// cleanObjectDatas return an array so need to be done after unset
|
||||
$object = parent::_cleanObjectDatas($object);
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user