summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c58a9a)
raw | patch | inline | side by side (parent: 6c58a9a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:58 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:58 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19270 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/admin/systems/gofon/tabs_phone.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/admin/systems/gofon/tabs_phone.inc b/gosa-plugins/gofon/admin/systems/gofon/tabs_phone.inc
index f18188b08e8fe8b23121530d6a6b3f086ac3bcc0..0af0c7add4352118e4b00cd3e9ce3db7f6a55518 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
$baseobject= $this->by_object['phoneGeneric'];
- $this->dn= "cn=$baseobject->cn,".get_ou("phoneGeneric", "phoneRDN").$baseobject->base;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $this->dn= "cn={$cn},".get_ou("phoneGeneric", "phoneRDN").$baseobject->base;
$baseobject->dn= $this->dn;
foreach ($this->by_object as $key => $obj){