diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc index 40b074e68fb448836a41a92436d45368262483da..5f9988b3fa2feac11d28a2ea4280c1cb3bd79dde 100644 --- a/include/class_CopyPasteHandler.inc +++ b/include/class_CopyPasteHandler.inc @@ -151,6 +151,8 @@ class CopyPasteHandler $entry['object']->resetCopyInfos(); } + logging::log('copy', $entry['method'], $entry['dn'], [], ''); + $entry['object']->resetBase(); return $entry; @@ -209,6 +211,7 @@ class CopyPasteHandler foreach ($this->clean_objects as $key => $entry) { $this->current = $entry; $errors = $this->current['object']->save(); + logging::log('copy', 'paste', $this->current['object']->dn, [], reset($errors)); if (empty($errors)) { $this->current_saved(); @@ -228,6 +231,7 @@ class CopyPasteHandler /* Save current object if edition is finished */ if (isset($_POST['edit_finish'])) { $errors = $this->current['object']->save(); + logging::log('copy', 'paste', $this->current['object']->dn, [], reset($errors)); if (empty($errors)) { $this->current_saved();