From f6eeb2d86d2a3d5ef51be18cf4da42bc951a5ee3 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 --- .../ILIAS/DataCollection/classes/class.ilObjDataCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php b/components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php index fcaab51f78d1..23ee72b12159 100755 --- a/components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php +++ b/components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php @@ -150,8 +150,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()); $this->cloneMetaData($new_obj); }