summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f701826)
raw | patch | inline | side by side (parent: f701826)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 09:57:27 +0000 (09:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 09:57:27 +0000 (09:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10353 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiProfile.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiProfile.inc b/gosa-plugins/fai/admin/fai/class_faiProfile.inc
index 8e98c72413ba5d19dc4fa71fe094c04940014ca0..6307a268f7c64c2946c1d4bcfe3019e90785e969 100644 (file)
/* Remove the old FAI profile, if the dn has changed.
*/
- if($this->cn != $this->old_cn && !$this->is_new){
+ if($this->cn != $this->old_cn && $this->old_cn != ""){
$old_dn = preg_replace("/^cn=[^,]+,/","cn=".$this->old_cn.",",$this->dn);
FAI::prepare_to_save_FAI_object($old_dn,array(),TRUE);