Test Failed
Push — master ( 9110fe...24b2a4 )
by
unknown
28:33 queued 21s
created
server/includes/core/class.operations.php 1 patch
Braces   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2088,7 +2088,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.