fixed problem with access to nonexistant session variable
This commit is contained in:
parent
35d175450f
commit
2287293f47
|
@ -234,7 +234,7 @@ class inetOrgPerson extends baseModule {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Unix workstations for upload
|
// Unix workstations for upload
|
||||||
if ($_SESSION['ldap']->supports_unix_hosts) {
|
if ($_SESSION['loggedIn'] && $_SESSION['ldap']->supports_unix_hosts) {
|
||||||
$return['upload_columns'][] = array(
|
$return['upload_columns'][] = array(
|
||||||
'name' => 'inetOrgPerson_hosts',
|
'name' => 'inetOrgPerson_hosts',
|
||||||
'description' => _('Unix workstations'),
|
'description' => _('Unix workstations'),
|
||||||
|
|
Loading…
Reference in New Issue