index e2d6bd6c28f17bc30be93216f1ea33b9834178c0..3ff98ea8fa2d1a48dce0aed29388223e6bdf4078 100644 (file)
/* Add current base */
if(isset($this->base) && isset($this->config->idepartments[$this->base])){
$deps[$this->base] = $this->config->idepartments[$this->base];
+ }elseif(strtolower($this->dn) == strtolower($this->config->current['BASE'])){
+
}else{
trigger_error("Cannot return list of departments, no default base found in class ".get_class($this).". ".$this->base);
}