X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_CopyPasteHandler.inc;h=4d6fb1ddb04928d4e27061661fa2e7dfc6607ba6;hb=78a6813efd2f0b4eb471a688685a2abf1429ebf8;hp=6436330550dec8d17e1b0caac0a4da8576389d06;hpb=5c3ec1cce75bc9e50fbcfdc4aa659883f3ef0e17;p=gosa.git diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index 643633055..4d6fb1ddb 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -358,8 +358,11 @@ class CopyPasteHandler { /* Save edited entry and force loading new one */ - if(isset($_POST['PerformCopyPaste']) && $this->current){ + if(isset($this->current['object']) && method_exists($this->current['object'],"saveCopyDialog")) { $this->current['object']->saveCopyDialog(); + } + + if(isset($_POST['PerformCopyPaste']) && $this->current){ $msgs = $this->check(); /* Load next queue entry */