Branch 'kolab-syncroton-2.2' - lib/kolab_sync_data_calendar.php

Aleksander Machniak machniak at kolabsys.com
Mon Oct 28 13:45:45 CET 2013


 lib/kolab_sync_data_calendar.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1ae50a0e3dca7243d8eaad26492dec17a489c7c7
Author: Aleksander Machniak <alec at alec.pl>
Date:   Mon Oct 28 13:41:51 2013 +0100

    Fix event attendees synchronization from server to the device (Bug #2431)

diff --git a/lib/kolab_sync_data_calendar.php b/lib/kolab_sync_data_calendar.php
index fc2da1e..296c162 100644
--- a/lib/kolab_sync_data_calendar.php
+++ b/lib/kolab_sync_data_calendar.php
@@ -286,10 +286,10 @@ class kolab_sync_data_calendar extends kolab_sync_data implements Syncroton_Data
             foreach ($event['attendees'] as $idx => $attendee) {
                 $att = array();
 
-                if ($attendee['name']) {
+                if ($name = $attendee['name']) {
                     $att['name'] = $name;
                 }
-                if ($attendee['email']) {
+                if ($email = $attendee['email']) {
                     $att['email'] = $email;
                 }
 




More information about the commits mailing list