Fix missing COMMENT in iTip delegation message from the event dialog (#5377)
This commit is contained in:
parent
0c5b7541bc
commit
96dd1b2713
1 changed files with 1 additions and 1 deletions
|
@ -1015,6 +1015,7 @@ class calendar extends rcube_plugin
|
|||
$ev['attendees'] = $event['attendees'];
|
||||
$ev['free_busy'] = $event['free_busy'];
|
||||
$ev['_savemode'] = $event['_savemode'];
|
||||
$ev['comment'] = $reply_comment;
|
||||
|
||||
// send invitation to delegatee + add it as attendee
|
||||
if ($status == 'delegated' && $event['to']) {
|
||||
|
@ -1051,7 +1052,6 @@ class calendar extends rcube_plugin
|
|||
if (!$noreply) {
|
||||
$itip = $this->load_itip();
|
||||
$itip->set_sender_email($reply_sender);
|
||||
$event['comment'] = $reply_comment;
|
||||
$event['thisandfuture'] = $event['_savemode'] == 'future';
|
||||
if ($organizer && $itip->send_itip_message($event, 'REPLY', $organizer, 'itipsubject' . $status, 'itipmailbody' . $status))
|
||||
$this->rc->output->command('display_message', $this->gettext(array('name' => 'sentresponseto', 'vars' => array('mailto' => $organizer['name'] ? $organizer['name'] : $organizer['email']))), 'confirmation');
|
||||
|
|
Loading…
Add table
Reference in a new issue