open first level

This commit is contained in:
Roland Gruber 2011-07-06 08:49:10 +00:00
parent 5c8cafb3c0
commit 4b084c5566
1 changed files with 4 additions and 1 deletions

View File

@ -58,8 +58,11 @@ abstract class Tree {
return $tree;
foreach ($server->getBaseDN(null) as $base)
if ($base)
if ($base) {
$tree->addEntry($base);
$baseEntry = $tree->getEntry($base);
$baseEntry->open();
}
set_cached_item($server_id,'tree','null',$tree);
}