summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcb131c)
raw | patch | inline | side by side (parent: bcb131c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Oct 2009 07:54:05 +0000 (07:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Oct 2009 07:54:05 +0000 (07:54 +0000) |
-There should be at least one department selectable.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14574 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14574 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc | patch | blob | history |
diff --git a/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc b/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc
index 59006248c189d8287b5e1357bf99357a6343137c..4ebac0f3389a5bef3c5d0561519053de82b1d9a6 100644 (file)
/* Create list of readable departments */
$deps = array();
foreach($this->config->idepartments as $dn => $name){
- if( $this->acl_is_readable($dn)){
+ if( $this->acl_is_readable($dn) || $dn == $this->config->current['BASE']){
$deps[$dn] = $name;
}
}
-
-
$this->base = $phonefilter['search_base'];
$smarty->assign("deplist", $deps);