summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d992bdf)
raw | patch | inline | side by side (parent: d992bdf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 May 2005 09:08:22 +0000 (09:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 May 2005 09:08:22 +0000 (09:08 +0000) |
plugins/admin/groups/class_groupGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc
index f4fc95da9122c6d0c375abb1b6088e82662408ed..7ae9d8b5db093d862b099f334f880b73ced44ea6 100644 (file)
}
/* Bases / Departments */
- if ($this->dn == "new"){
- $ui= get_userinfo();
- $this->base= dn2base($ui->dn);
+ if (isset($_POST['base'])){
+ $this->base= $_POST['base'];
} else {
- if (isset($_POST['base'])){
- $this->base= $_POST['base'];
+ if ($this->dn == "new"){
+ $ui= get_userinfo();
+ $this->base= dn2base($ui->dn);
} else {
$this->base= preg_replace ("/^[^,]+,[^,]+,/", "", $this->dn);
}