mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:20 +01:00
handle error on empty folder while checking when saving as draft
This commit is contained in:
parent
ab4dc564cb
commit
044263bd8c
@ -967,8 +967,8 @@
|
|||||||
{
|
{
|
||||||
$this->sessionData['messageFolder'] = $this->sessionData['mailbox'];
|
$this->sessionData['messageFolder'] = $this->sessionData['mailbox'];
|
||||||
}
|
}
|
||||||
if ($bofelamimail->isDraftFolder($this->sessionData['messageFolder'])
|
if (!empty($this->sessionData['messageFolder']) && ($bofelamimail->isDraftFolder($this->sessionData['messageFolder'])
|
||||||
|| $bofelamimail->isTemplateFolder($this->sessionData['messageFolder']))
|
|| $bofelamimail->isTemplateFolder($this->sessionData['messageFolder'])))
|
||||||
{
|
{
|
||||||
$savingDestination = $this->sessionData['messageFolder'];
|
$savingDestination = $this->sessionData['messageFolder'];
|
||||||
//error_log(__METHOD__.__LINE__.' SavingDestination:'.$savingDestination);
|
//error_log(__METHOD__.__LINE__.' SavingDestination:'.$savingDestination);
|
||||||
|
Loading…
Reference in New Issue
Block a user