restricted domain search for upload to logged-in status

This commit is contained in:
Roland Gruber 2004-10-14 14:11:36 +00:00
parent 86bb6297c6
commit 5a49e69dc6
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class sambaGroupMapping extends baseModule {
'description');
// upload fields
// search existing Samba 3 domains
$domains = search_domains($_SESSION['config']->get_domainSuffix());
if ($_SESSION['loggedIn']) $domains = search_domains($_SESSION['config']->get_domainSuffix());
$domainNames = array();
for ($i = 0; $i < sizeof($domains); $i++) $domainNames[] = $domains[$i]->name;
$return['upload_columns'] = array(