From dd81d3a76219b4baaf4258fc4c38667e254ec859 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Mon, 8 Jun 2015 15:06:43 +0200 Subject: [PATCH] NEW : add all assigned users and all extrafields data in new event when we createFromClone --- htdocs/comm/action/class/actioncomm.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index f7f1a273221..b7d13f218d0 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -392,6 +392,10 @@ class ActionComm extends CommonObject // Load source object $objFrom = dol_clone($this); + + $this->fetch_optionals(); + $this->fetch_userassigned(); + $this->id=0; // Create clone