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