Projects
Kolab:Winterfell
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/calendar/calendar.php
Changed
@@ -2793,10 +2793,13 @@ if ($event = $this->lib->mail_get_itip_object($mbox, $uid, $mime_id, 'event')) { // forward iTip request to delegatee if ($delegate) { - $rsvpme = intval(rcube_utils::get_input_value('_rsvp', rcube_utils::INPUT_POST)); + $rsvpme = (bool) intval(rcube_utils::get_input_value('_rsvp', rcube_utils::INPUT_POST)); + $comment = rcube_utils::get_input_value('_comment', rcube_utils::INPUT_POST); - $itip = $this->load_itip(); - if ($itip->delegate_to($event, $delegate, $rsvpme ? true : false)) { + $d_event = $comment ? array_merge($event, array('comment' => $comment)) : $event; + $itip = $this->load_itip(); + + if ($itip->delegate_to($d_event, $delegate, $rsvpme)) { $this->rc->output->show_message('calendar.itipsendsuccess', 'confirmation'); } else {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.