From d2b91e934af0dd2a745d6329f7332b5a09d15366 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 27 Apr 2021 01:09:46 +0200 Subject: [PATCH] Clean code --- htdocs/comm/action/class/api_agendaevents.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/class/api_agendaevents.class.php b/htdocs/comm/action/class/api_agendaevents.class.php index 75b9ae355e8..f8b9a2a353f 100644 --- a/htdocs/comm/action/class/api_agendaevents.class.php +++ b/htdocs/comm/action/class/api_agendaevents.class.php @@ -400,7 +400,9 @@ class AgendaEvents extends DolibarrApi unset($object->civility_id); unset($object->contact); unset($object->societe); - + unset($object->demand_reason_id); + unset($object->transport_mode_id); + unset($object->region_id); unset($object->actions); unset($object->lines);