summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b51423)
raw | patch | inline | side by side (parent: 1b51423)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:36 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:36 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19261 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/tabsScript.inc | patch | blob | history |
index 02e27c7b529f45d5a4352ac2624732acd3419863..6c26bfdcc1fcf337c762ae6930fd50f09c674798 100644 (file)
function save($ignore_account= FALSE)
{
$baseobject= $this->by_object['faiScript'];
- $new_dn ='cn='.$baseobject->cn.",".get_ou("faiScript", "faiScriptRDN").$this->parent->fai_release;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $new_dn ='cn='.$cn.",".get_ou("faiScript", "faiScriptRDN").$this->parent->fai_release;
if ($this->dn != $new_dn && $this->dn != "new"){