From b1bb4d20501c0e6c7673abcf38a64a4af5201164 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Feb 2010 07:26:40 +0000 Subject: [PATCH] Updated Snapshot DN encoding problems... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15567 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_SnapShotDialog.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_SnapShotDialog.inc b/gosa-core/include/class_SnapShotDialog.inc index aafd2e5ed..3bde8d02e 100644 --- a/gosa-core/include/class_SnapShotDialog.inc +++ b/gosa-core/include/class_SnapShotDialog.inc @@ -144,7 +144,7 @@ class SnapShotDialog extends plugin } $field0 = array("string"=> $time_stamp , "attach"=> "style='vertical-align:top;width:120px;'"); - $field1 = array("string"=> htmlentities (utf8_decode($display_data)), "attach"=> ""); + $field1 = array("string"=> htmlentities (utf8_decode(LDAP::fix($display_data))), "attach"=> ""); $field2 = array("string"=> str_replace("%KEY",base64_encode($entry['dn']),$actions) , "attach"=> "style='border-right:0px;vertical-align:top;width:40px;text-align:right;'"); $DivListSnapShots->AddEntry(array($field0,$field1,$field2)); @@ -157,7 +157,7 @@ class SnapShotDialog extends plugin $smarty->assign("restore_deleted",$this->display_all_removed_objects); $smarty->assign("RestoreMode",$this->display_restore_dialog); $smarty->assign("CurrentDate",date(_("Y-m-d, H:i:s"))); - $smarty->assign("CurrentDN",$this->dn); + $smarty->assign("CurrentDN",LDAP::fix($this->dn)); $smarty->assign("CurrentDescription",$this->CurrentDescription); return($smarty->fetch(get_template_path("snapshotdialog.tpl"))); } -- 2.30.2