mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Make sure draft folder contains profile id when using it as folder option
This commit is contained in:
parent
7900bfd9cd
commit
56376465f2
@ -3824,7 +3824,11 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
}
|
||||
}
|
||||
if (!is_array($content)) $content = array();
|
||||
if (empty($content['FOLDER'])) $content['FOLDER']=(array)$this->mail_bo->getDraftFolder();
|
||||
if (empty($content['FOLDER']))
|
||||
{
|
||||
$draft = $this->mail_bo->getDraftFolder();
|
||||
$content['FOLDER']=(array)(preg_match($draft, "/::/") ? $draft : $this->mail_bo->profileID.'::'.$draft);
|
||||
}
|
||||
if (!empty($content['FOLDER']))
|
||||
{
|
||||
$compose = new mail_compose();
|
||||
|
Loading…
Reference in New Issue
Block a user