summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3d2cc0)
raw | patch | inline | side by side (parent: c3d2cc0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 11:06:08 +0000 (11:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 11:06:08 +0000 (11:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5322 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index c32eca5f0c17daddceda8a87c5c0b04ff6cf9899..574ff73450a84f3db7f7e8f677635bbcab1262cb 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
$new = false;
}
- /* Add current base */
- if(isset($this->base) && isset($this->config->idepartments[$this->base])){
- $deps[$this->base] = $this->config->idepartments[$this->base];
- }else{
- echo "No default base found. ".$this->base."<br> ";
- }
-
$cat_bases = $ui->get_module_departments(preg_replace("/\/.*$/","",$category));
foreach($this->config->idepartments as $dn => $name){
$deps[$dn] = $name;
}
}
+
+ /* Add current base */
+ if(isset($this->base) && isset($this->config->idepartments[$this->base])){
+ $deps[$this->base] = $this->config->idepartments[$this->base];
+ }else{
+ echo "No default base found. ".$this->base."<br> ";
+ }
+
return($deps);
}