Branch 'kolab-syncroton-2.1' - lib/kolab_sync_data_calendar.php
Aleksander Machniak
machniak at kolabsys.com
Mon Oct 28 13:46:40 CET 2013
lib/kolab_sync_data_calendar.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d0fe79c67f31d4f6a3fc1a567060cabb25ccfc76
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 f54f56e..fd7c897 100644
--- a/lib/kolab_sync_data_calendar.php
+++ b/lib/kolab_sync_data_calendar.php
@@ -277,10 +277,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