fixed another PHP notice

This commit is contained in:
Roland Gruber 2005-02-24 20:50:48 +00:00
parent 1e53b1bb16
commit 58081d88ff
1 changed files with 35 additions and 33 deletions

View File

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