summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f75562c)
raw | patch | inline | side by side (parent: f75562c)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jan 2010 14:00:34 +0000 (14:00 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jan 2010 14:00:34 +0000 (14:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15419 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listing.inc | patch | blob | history |
index b615cf826bb0f0c53901b771b0454baf050a0ee3..b91c063ee4d1ec22aa87760937008a6358458369 100644 (file)
if (preg_match('/^department_([0-9]+)$/', validate($_GET['act']), $match)){
if (isset($this->departments[$match[1]])){
$this->base= $this->departments[$match[1]]['dn'];
- $this->baseSelector->setBase($this->base);
+ if ($this->baseMode) {
+ $this->baseSelector->setBase($this->base);
+ }
session::global_set("CurrentMainBase", $this->base);
}
}
function setBase($base)
{
$this->base= $base;
- $this->baseSelector->setBase($this->base);
+ if ($this->baseMode) {
+ $this->baseSelector->setBase($this->base);
+ }
}
}
// Populate base selector if already present
- if ($this->baseSelector) {
+ if ($this->baseSelector && $this->baseMode) {
$this->baseSelector->setBases($this->bases);
}
}