From fd12f88e661fa889f03416c8ffc50d1a8e7fb67e Mon Sep 17 00:00:00 2001 From: iszmais Date: Thu, 6 Nov 2025 13:45:13 +0100 Subject: [PATCH] dc fix notifcation setting on clone --- Modules/DataCollection/classes/class.ilObjDataCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/DataCollection/classes/class.ilObjDataCollection.php b/Modules/DataCollection/classes/class.ilObjDataCollection.php index 454180b23c7d..adf461760cee 100644 --- a/Modules/DataCollection/classes/class.ilObjDataCollection.php +++ b/Modules/DataCollection/classes/class.ilObjDataCollection.php @@ -139,8 +139,8 @@ protected function doCloneObject(ilObject2 $new_obj, int $a_target_id, ?int $a_c $new_obj->setNotification($this->getNotification()); if (!(ilCopyWizardOptions::_getInstance($a_copy_id))->isRootNode($this->getRefId())) { $new_obj->setOnline($this->getOnline()); - $new_obj->update(); } + $new_obj->update(); $new_obj->cloneStructure($this->getRefId()); }