From: hickert Date: Mon, 3 Mar 2008 10:41:07 +0000 (+0000) Subject: Fixed copy & paste. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=437237d41c65ce840962091e846dddbf9f9af5cb;p=gosa.git Fixed copy & paste. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9237 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index 1d7364dfc..b780517f5 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -276,7 +276,6 @@ class CopyPasteHandler { */ if(!isset($entry['object'])){ $entry = $this->load_entry_from_queue($entry); - $entry = $this->_update_vars($entry); $this->queue[$key] = $entry; } $msgs = $entry['object']->check(); @@ -308,6 +307,7 @@ class CopyPasteHandler { /* Load next queue entry */ $this->current = $entry; $this->lastdn = $this->current['object']->dn; + $this->current= $this->_update_vars($this->current); $this->current['object']->save(); $this->current = FALSE; } @@ -322,6 +322,7 @@ class CopyPasteHandler { /* Load next queue entry */ if(!count($msgs)){ $this->lastdn = $this->current['object']->dn; + $this->current= $this->_update_vars($this->current); $this->current['object']->save(); $this->current = FALSE; }else{