FIX We should remove property comments only for project and task api.

This commit is contained in:
Laurent Destailleur 2019-07-25 16:58:24 +02:00
parent e88ca8ae89
commit 1d7885bc0c
3 changed files with 4 additions and 1 deletions

View File

@ -145,7 +145,6 @@ class DolibarrApi
unset($object->picto);
unset($object->fieldsforcombobox);
unset($object->comments);
unset($object->skip_update_total);
unset($object->context);

View File

@ -582,6 +582,8 @@ class Projects extends DolibarrApi
unset($object->total_localtax2);
unset($object->total_ttc);
unset($object->comments);
return $object;
}

View File

@ -592,6 +592,8 @@ class Tasks extends DolibarrApi
unset($object->total_localtax2);
unset($object->total_ttc);
unset($object->comments);
return $object;
}