@@ -2119,9 +2119,9 @@ |
||
2119 | 2119 | $props = mapi_getprops($message, $properties); |
2120 | 2120 | // Do not update timezone information if the appointment times haven't changed |
2121 | 2121 | if (!isset($action['props']['commonstart']) && |
2122 | - !isset($action['props']['commonend']) && |
|
2123 | - !isset($action['props']['startdate']) && |
|
2124 | - !isset($action['props']['enddate']) |
|
2122 | + !isset($action['props']['commonend']) && |
|
2123 | + !isset($action['props']['startdate']) && |
|
2124 | + !isset($action['props']['enddate']) |
|
2125 | 2125 | ) { |
2126 | 2126 | unset($action['props']['tzdefstart'], $action['props']['tzdefend']); |
2127 | 2127 | } |
@@ -2088,7 +2088,8 @@ discard block |
||
2088 | 2088 | if (!empty($action['props']['timezone_iana'])) { |
2089 | 2089 | try { |
2090 | 2090 | $tzdef = mapi_ianatz_to_tzdef($action['props']['timezone_iana']); |
2091 | - } catch (Exception $e) { |
|
2091 | + } |
|
2092 | + catch (Exception $e) { |
|
2092 | 2093 | } |
2093 | 2094 | if ($tzdef !== false) { |
2094 | 2095 | $action['props']['tzdefstart'] = $action['props']['tzdefend'] = bin2hex($tzdef); |
@@ -3056,8 +3057,9 @@ discard block |
||
3056 | 3057 | |
3057 | 3058 | if (array_search(strtolower($foldername), $folderNames) !== false) { |
3058 | 3059 | $i = 2; |
3059 | - while (array_search(strtolower($foldername)." ($i)", $folderNames) !== false) |
|
3060 | - ++$i; |
|
3060 | + while (array_search(strtolower($foldername)." ($i)", $folderNames) !== false) { |
|
3061 | + ++$i; |
|
3062 | + } |
|
3061 | 3063 | $foldername .= " ($i)"; |
3062 | 3064 | } |
3063 | 3065 |