Code

Add special-character-handling for gotoHotplugDeviceDN-entries.
authorlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Jun 2009 08:50:44 +0000 (08:50 +0000)
committerlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Jun 2009 08:50:44 +0000 (08:50 +0000)
 Ticket #2156

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13720 594d385d-05f5-0310-b6e9-bd551577e9d8

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 */