Code

Add special-character-handling for gotoHotplugDeviceDN-entries.
[gosa.git] / trunk / gosa-plugins / goto / personal / environment / class_environment.inc
index c6f82a34a4c0346c4dc53fa5e53571771b847288..c7befa3ce85d78d4f2bcf1bae7727005be865175 100644 (file)
@@ -1240,7 +1240,7 @@ class environment extends plugin
     /* Prepare HotPlug devices */
     $this->attrs['gotoHotplugDeviceDN'] = array();
     foreach($this->gotoHotplugDevices as $name => $device){
-      $this->attrs['gotoHotplugDeviceDN'][]= $device['dn'];
+      $this->attrs['gotoHotplugDeviceDN'][]= LDAP::fix($device['dn']);
     }
 
     /* Prepare LogonScripts */