From a4ab37e990e24fee528f68eeb7bdbca7f1b864ab Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 11 Jan 2018 01:16:14 +0100 Subject: [PATCH] Remove deprecated field --- htdocs/societe/class/api_thirdparties.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/societe/class/api_thirdparties.class.php b/htdocs/societe/class/api_thirdparties.class.php index 9fd95a13a65..9ada3510a4a 100644 --- a/htdocs/societe/class/api_thirdparties.class.php +++ b/htdocs/societe/class/api_thirdparties.class.php @@ -494,6 +494,8 @@ class Thirdparties extends DolibarrApi $object = parent::_cleanObjectDatas($object); + unset($object->nom); // ->name already defined and nom deprecated + unset($object->total_ht); unset($object->total_tva); unset($object->total_localtax1);