summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45177c6)
raw | patch | inline | side by side (parent: 45177c6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Mar 2006 08:11:23 +0000 (08:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Mar 2006 08:11:23 +0000 (08:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2941 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servRepository.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc
index 6b96cd3e5d4b19bfa5de8b540c8e6fc7f95ba0b5..eaa059376821e26edad51f9b8d512aa757f94ab1 100644 (file)
}
}else{
$obj = $this->dialog->save();
+ if($this->dialog->is_new_name()){
+ $oldname = $this->dialog->initialy_was;
+ $this->repositories[$obj['Release']]=$obj;
+ unset($this->repositories[$oldname]);
+ }else{
+ $this->repositories[$obj['Release']]=$obj;
+ }
$this->dialog = NULL;
$this->is_dialog= false;
- $this->repositories[$obj['Release']]=$obj;
}
}