fix missing startdate, when importing mail from compose

This commit is contained in:
Klaus Leithoff 2009-12-15 16:05:48 +00:00
parent 1457a73200
commit e5978c32a1

View File

@ -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;
} }