summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b087eff)
raw | patch | inline | side by side (parent: b087eff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:41 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:41 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19263 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/tabsVariable.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/tabsVariable.inc b/gosa-plugins/fai/admin/fai/tabsVariable.inc
index dd38c1b7eb0c644dc5637103d03f6bca3dd41e81..3e4c39a81f11498e8e5818731788da753bca1e56 100644 (file)
function save($ignore_account= FALSE)
{
$baseobject= $this->by_object['faiVariable'];
- $new_dn ='cn='.$baseobject->cn.",".get_ou("faiVariable", "faiVariableRDN").$this->parent->fai_release;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $new_dn ='cn='.$cn.",".get_ou("faiVariable", "faiVariableRDN").$this->parent->fai_release;
if ($this->dn != $new_dn && $this->dn != "new"){