mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
attempt to resolve missing folder-information situation when accessing ajaxfelamimail
This commit is contained in:
parent
dec4237e0e
commit
dac72b58f4
@ -72,6 +72,7 @@ class ajaxfelamimail
|
||||
$this->sessionData =& $GLOBALS['egw']->session->appsession('session_data','felamimail');
|
||||
$this->sessionData['folderStatus'] = egw_cache::getCache(egw_cache::INSTANCE,'email','folderStatus'.trim($GLOBALS['egw_info']['user']['account_id']),$callback=null,$callback_params=array(),$expiration=60*60*1);
|
||||
if (!is_array($this->sessionDataAjax)) $this->sessionDataAjax = array();
|
||||
if (!isset($this->sessionData['mailbox'])) $this->sessionData['mailbox'] = (isset($folderToSelect)?$folderToSelect:(isset($this->sessionDataAjax['folderName'])?$this->sessionDataAjax['folderName']:'INBOX'));
|
||||
if(!isset($this->sessionDataAjax['folderName'])) {
|
||||
$this->sessionDataAjax['folderName'] = $this->sessionData['mailbox']?$this->sessionData['mailbox']:'INBOX';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user