From e51514b820fbfe9a98c607596498b2012810fc8b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 30 Jul 2010 07:27:44 +0000 Subject: [PATCH] Updated copy&paste dialog. -Messages used the unfixed object dn, added LDAP::fix() git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19292 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_CopyPasteHandler.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index 25d4fa898..62f3e3702 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -417,7 +417,8 @@ class CopyPasteHandler { $smarty->assign("AttributesToFix",$this->generateAttributesToFix()); $smarty->assign("SubDialog",$this->current['object']->SubDialog); $smarty->assign("objectDN",$this->current['source_data']['dn']); - $smarty->assign("message", sprintf(_("This object will be pasted: %s"), "

".bold($this->current['source_data']['dn']))); + $smarty->assign("message", sprintf(_("This object will be pasted: %s"), "

". + bold(@LDAP::fix($this->current['source_data']['dn'])))); return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE))); } } -- 2.30.2