diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc
index e46be02b3ec80f26defa4641ea4d3a7d8ebc6d87..ed01b1cf835d93ac4e943b581eb39d2c8aa59c12 100644 (file)
/* Display a list of all pastable entries
*/
if(count($this->clean_objects)){
+
+ $dns = array();
+ foreach($this->clean_objects as $object){
+ $dns[] = $object['dn'];
+ }
+
$smarty = get_smarty();
$smarty->assign("type","directly");
$smarty->assign("Complete",false);
$smarty->assign("AttributesToFix"," ");
$smarty->assign("SubDialog","");
- $smarty->assign("objectDN" ,$dns);
- $smarty->assign("message" , sprintf(_("These objects will be pasted: %s"), "<br>".msgPool::buildList($this->clean_objects)));
+ $smarty->assign("message" , sprintf(_("These objects will be pasted: %s"), "<br>".msgPool::buildList($dns)));
return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE)));
}