fixed problem with access to nonexistant session variable

This commit is contained in:
Roland Gruber 2005-07-05 12:48:15 +00:00
parent 35d175450f
commit 2287293f47
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class inetOrgPerson extends baseModule {
}
}
// Unix workstations for upload
if ($_SESSION['ldap']->supports_unix_hosts) {
if ($_SESSION['loggedIn'] && $_SESSION['ldap']->supports_unix_hosts) {
$return['upload_columns'][] = array(
'name' => 'inetOrgPerson_hosts',
'description' => _('Unix workstations'),