@@ -374,8 +374,7 @@ |
||
| 374 | 374 | // created on a mobile device (mobile devices do not send a timezone for |
| 375 | 375 | // all-day events). |
| 376 | 376 | $tzdefstart = isset($calendaritem['props']['tzdefstart']) ? |
| 377 | - hex2bin($calendaritem['props']['tzdefstart']) : |
|
| 378 | - mapi_ianatz_to_tzdef("Etc/UTC"); |
|
| 377 | + hex2bin($calendaritem['props']['tzdefstart']) : mapi_ianatz_to_tzdef("Etc/UTC"); |
|
| 379 | 378 | |
| 380 | 379 | // Compare the timezone definitions of the client and the appointment. |
| 381 | 380 | // Further processing is only required if they don't match. |
@@ -542,8 +542,7 @@ |
||
| 542 | 542 | // created on a mobile device (mobile devices do not send a timezone for |
| 543 | 543 | // all-day events). |
| 544 | 544 | $tzdefstart = isset($calendaritem['props']['tzdefstart']) ? |
| 545 | - hex2bin($calendaritem['props']['tzdefstart']) : |
|
| 546 | - mapi_ianatz_to_tzdef("Etc/UTC"); |
|
| 545 | + hex2bin($calendaritem['props']['tzdefstart']) : mapi_ianatz_to_tzdef("Etc/UTC"); |
|
| 547 | 546 | |
| 548 | 547 | // queryrows only returns 510 chars max, so if tzdef is longer than that |
| 549 | 548 | // it was probably silently truncated. In such case we need to open |