summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2590a4b)
raw | patch | inline | side by side (parent: 2590a4b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:21 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:21 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19255 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/applications/tabs_application.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/applications/tabs_application.inc b/gosa-plugins/goto/admin/applications/tabs_application.inc
index eea2a1a45200a357e9bdaa42d4326d9ae17ff515..e0c98155ec30fe92391d7c341ffbf63dd891ddf1 100644 (file)
function save($ignore_account= FALSE)
{
$baseobject= $this->by_object['application'];
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
if($baseobject->parent->parent->IsReleaseManagementActivated()){
- $new_dn= "cn=".$baseobject->cn.",".$baseobject->parent->parent->app_release;
+ $new_dn= "cn=".$cn.",".$baseobject->parent->parent->app_release;
}else{
- $new_dn= "cn=".$baseobject->cn.",".get_ou("application", "applicationRDN").$baseobject->base;
+ $new_dn= "cn=".$cn.",".get_ou("application", "applicationRDN").$baseobject->base;
}
// Do we have to move the object?