From: cajus Date: Fri, 29 Jan 2010 15:56:41 +0000 (+0000) Subject: Fixed funny bug with wrong bases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=80a362c2066fd415f23ec038fe21b82f0705a8b9;p=gosa.git Fixed funny bug with wrong bases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15460 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 23c4df695..d3587e4dc 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -573,7 +573,7 @@ class listing { } if ($action == 'HOME') { $ui= get_userinfo(); - $this->base= $this->filter->getObjectBase($ui->dn); + $this->base= get_base_from_people($ui->dn); $this->baseSelector->setBase($this->base); } } @@ -978,7 +978,7 @@ class listing { $listhead =""; /* Check if we are in users home department */ - if(!count($deps) || $this->filter->base == $this->filter->getObjectBase($ui->dn)){ + if(!count($deps) || $this->filter->base == get_base_from_people($ui->dn)){ $enableHome = false; }