summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7619ee9)
raw | patch | inline | side by side (parent: 7619ee9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:36:06 +0000 (08:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:36:06 +0000 (08:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15512 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc
index 09a0d272d9f659a067d708e70aef4b1a8ac35cee..ee08531836163e3b5794699910dc5ab5f741e60e 100644 (file)
/* Set base */
if ($this->dn == "new"){
$ui= get_userinfo();
- $this->base= dn2base($ui->dn);
+ $this->base= dn2base(session::global_is_set("CurrentMainBase")?"cn=dummy,".session::global_get("CurrentMainBase"):$ui->dn);
$this->cn= "";
} else {
$this->base= preg_replace ("/^[^,]+,".preg_quote(get_ou("phoneRDN"), '/')."/i", "", $this->dn);