fixed another PHP notice
This commit is contained in:
parent
1e53b1bb16
commit
58081d88ff
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue