From 81bbfd96287d0a88639fad6edd01e1a4748081ae Mon Sep 17 00:00:00 2001 From: psc Date: Tue, 7 Sep 2010 08:36:00 +0000 Subject: [PATCH] Apply patch for #3106 Fixed problem with wrong display of entries with special characters in the C&P dialog, by filtering DNs with the LDAP::fix function git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19540 594d385d-05f5-0310-b6e9-bd551577e9d8 --- trunk/gosa-core/include/class_CopyPasteHandler.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/gosa-core/include/class_CopyPasteHandler.inc b/trunk/gosa-core/include/class_CopyPasteHandler.inc index ee772bb30..bc3a2ad4b 100644 --- a/trunk/gosa-core/include/class_CopyPasteHandler.inc +++ b/trunk/gosa-core/include/class_CopyPasteHandler.inc @@ -383,7 +383,7 @@ class CopyPasteHandler { $smarty->assign("Complete",false); $smarty->assign("AttributesToFix"," "); $smarty->assign("SubDialog",""); - $smarty->assign("message" , sprintf(_("These objects will be pasted: %s"), "
".msgPool::buildList($dns))); + $smarty->assign("message" , sprintf(_("These objects will be pasted: %s"), "
".msgPool::buildList(LDAP::fix($dns)))); return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE))); } @@ -407,7 +407,7 @@ 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"), "

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

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