fixed problem with sessiondata

This commit is contained in:
Cornelius Weiß 2005-06-13 15:14:46 +00:00
parent aa15d03fee
commit cbf0f41ad5

View File

@ -105,8 +105,12 @@ class ui_resources
$content['nm']['no_cat'] = true;
$content['nm']['order'] = 'name';
$content['nm']['sort'] = 'ASC';
$content['nm'] = $GLOBALS['egw']->session->appsession('session_data','resources_index_nm');
$nm_session_data = $GLOBALS['egw']->session->appsession('session_data','resources_index_nm');
if($nm_session_data)
{
$content['nm'] = $nm_session_data;
}
// check if user is permitted to add resources
if(!$this->bo->acl->get_cats(EGW_ACL_ADD))