FIX We should remove property comments only for project and task api.
This commit is contained in:
parent
e88ca8ae89
commit
1d7885bc0c
@ -145,7 +145,6 @@ class DolibarrApi
|
||||
unset($object->picto);
|
||||
|
||||
unset($object->fieldsforcombobox);
|
||||
unset($object->comments);
|
||||
|
||||
unset($object->skip_update_total);
|
||||
unset($object->context);
|
||||
|
||||
@ -582,6 +582,8 @@ class Projects extends DolibarrApi
|
||||
unset($object->total_localtax2);
|
||||
unset($object->total_ttc);
|
||||
|
||||
unset($object->comments);
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
||||
@ -592,6 +592,8 @@ class Tasks extends DolibarrApi
|
||||
unset($object->total_localtax2);
|
||||
unset($object->total_ttc);
|
||||
|
||||
unset($object->comments);
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user