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