forked from extern/egroupware
fix missing startdate, when importing mail from compose
This commit is contained in:
parent
1457a73200
commit
e5978c32a1
@ -1440,7 +1440,7 @@ class infolog_ui
|
|||||||
$uid = $_GET['uid'];
|
$uid = $_GET['uid'];
|
||||||
$partid = $_GET['part'];
|
$partid = $_GET['part'];
|
||||||
$mailbox = base64_decode($_GET['mailbox']);
|
$mailbox = base64_decode($_GET['mailbox']);
|
||||||
|
if ($_date == false || empty($_date)) $_date = $this->bo->user_time_now;
|
||||||
if (!empty($_to_emailAddress))
|
if (!empty($_to_emailAddress))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_info']['flags']['currentapp'] = 'infolog';
|
$GLOBALS['egw_info']['flags']['currentapp'] = 'infolog';
|
||||||
@ -1492,7 +1492,7 @@ class infolog_ui
|
|||||||
//_debug_array($attachments);
|
//_debug_array($attachments);
|
||||||
$body = strip_tags($_body);
|
$body = strip_tags($_body);
|
||||||
$this->edit($this->bo->import_mail(
|
$this->edit($this->bo->import_mail(
|
||||||
implode(',',$_to_emailAddress),$_subject,$body,$attachments,''
|
implode(',',$_to_emailAddress),$_subject,$body,$attachments,$_date
|
||||||
));
|
));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user