From 14e70c3b6204323e72703debdda79ca4d2f961ee 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 fd56bc3e02c0..4f3efa67df57 100755 --- a/components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php +++ b/components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php @@ -142,8 +142,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); }