FIX #7806
This commit is contained in:
parent
07cd1fb3c2
commit
38c770ffb3
@ -299,6 +299,18 @@ class Users extends DolibarrApi
|
|||||||
unset($object->total_localtax2);
|
unset($object->total_localtax2);
|
||||||
unset($object->total_ttc);
|
unset($object->total_ttc);
|
||||||
|
|
||||||
|
unset($object->fk_delivery_address);
|
||||||
|
unset($object->fk_incoterms);
|
||||||
|
unset($object->all_permissions_are_loaded);
|
||||||
|
|
||||||
|
// List of properties never returned by API, whatever are permissions
|
||||||
|
unset($object->pass);
|
||||||
|
unset($object->pass_indatabase);
|
||||||
|
unset($object->pass_indatabase_crypted);
|
||||||
|
unset($object->pass_temp);
|
||||||
|
unset($object->api_key);
|
||||||
|
unset($object->clicktodial_password);
|
||||||
|
|
||||||
return $object;
|
return $object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user