X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_CopyPasteHandler.inc;h=62f3e3702e01ee030248ed034f9f0735e35a1ff7;hb=9773098162a69430e5c427eb458578bb39e15560;hp=587cdcc901c95143a375540d660294cf147e2e7b;hpb=4e9dc0aa7650a9a9467c6073e9c5841419b5c53c;p=gosa.git
diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc
index 587cdcc90..62f3e3702 100644
--- a/gosa-core/include/class_CopyPasteHandler.inc
+++ b/gosa-core/include/class_CopyPasteHandler.inc
@@ -156,7 +156,7 @@ class CopyPasteHandler {
/* Check if given dn is valid and ldap search was succesfull */
if(!$res){
- $msg= sprintf(_("Copy and paste failed!")."
"._("Error").": "._("'%s' is no vaild LDAP object"), bold(LDAP::fix($dn)));
+ $msg= sprintf(_("Copy and paste failed!")."
"._("Error").": "._("'%s' is no valid LDAP object"), bold(LDAP::fix($dn)));
msg_dialog::display(_("Internal error"), $msg, ERROR_DIALOG);
new log("copy","all/all",$dn,array(), $msg);
return(FALSE);
@@ -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)));
}
}