Passed
Push — master ( a68187...a12cde )
by
unknown
06:12
created
server/includes/modules/class.addressbooklistmodule.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -354,8 +354,7 @@  discard block
 block discarded – undo
354 354
 				function sorter($direction, $key) {
355 355
 					return function($a, $b) use ($direction, $key) {
356 356
 						return $direction == 'ASC' ?
357
-							strcasecmp($a['props'][$key] ?? '', $b['props'][$key] ?? '') :
358
-							strcasecmp($b['props'][$key] ?? '', $a['props'][$key] ?? '');
357
+							strcasecmp($a['props'][$key] ?? '', $b['props'][$key] ?? '') : strcasecmp($b['props'][$key] ?? '', $a['props'][$key] ?? '');
359 358
 					};
360 359
 				}
361 360
 				usort($items, sorter($sortingDir, $sortingField));
@@ -760,7 +759,7 @@  discard block
 block discarded – undo
760 759
 								],
761 760
 								[
762 761
 									RES_OR,
763
-									$tempRestrictions,     // all group restrictions
762
+									$tempRestrictions, // all group restrictions
764 763
 								],
765 764
 							],
766 765
 						],
Please login to merge, or discard this patch.