mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
take the extra time on failure on folderExists, when the folder seems to be not to be there
This commit is contained in:
parent
499601cd17
commit
06f8a7c829
@ -1464,8 +1464,12 @@ class mail_ui
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__.__LINE__.' Test on Folder:'.$_folderName.' failed; Using INBOX instead');
|
// take the extra time on failure
|
||||||
$query['selectedFolder']=$mail_ui->mail_bo->sessionData['mailbox']=$_folderName='INBOX';
|
if (!$mail_ui->mail_bo->folderExists($_folderName,true))
|
||||||
|
{
|
||||||
|
//error_log(__METHOD__.__LINE__.' Test on Folder:'.$_folderName.' failed; Using INBOX instead');
|
||||||
|
$query['selectedFolder']=$mail_ui->mail_bo->sessionData['mailbox']=$_folderName='INBOX';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$mail_ui->mail_bo->saveSessionData();
|
$mail_ui->mail_bo->saveSessionData();
|
||||||
$rowsFetched['messages'] = null;
|
$rowsFetched['messages'] = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user