Code

Fixed output messages while copying FAI objects
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 May 2006 15:31:58 +0000 (15:31 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 May 2006 15:31:58 +0000 (15:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3491 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_ldap.inc

index a1f960aa3bc730f67939ee52a170f3530ec83e84..2fbf59e6d13ae06276577540a9397453c2d4e919 100644 (file)
@@ -444,16 +444,16 @@ class LDAP{
     error_reporting(E_ALL);
     
     if($is_first){
-      echo "<h2>".sprintf(_("Creating copy of %s"),"<i>".$sourcedn."</i>")."</h2>";
+      echo "<h2>".sprintf(_("Creating copy of %s"),"<i>".@LDAP::fix($sourcedn)."</i>")."</h2>";
     }else{
       if(preg_match("/^ou=/",$sourcedn)){
-        echo "<h3>"._("Processing")." <i>$destinationdn</i></h3>";
+        echo "<h3>"._("Processing")." <i>".@LDAP::fix($destinationdn)."</i></h3>";
       }else{
         $tmp = split(",",$sourcedn);
         
         echo "&nbsp;<b>"._("Object").":</b> ";
 
-        $deststr = $destinationdn;
+        $deststr = @LDAP::fix($destinationdn);
         if(strlen($deststr) > 96){
           $deststr = substr($deststr,0,96)."...";
         }