Passed
Pull Request — release-2.1 (#6578)
by
unknown
05:04
created
Sources/ManagePermissions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1838,7 +1838,7 @@  discard block
 block discarded – undo
1838 1838
 	if (!empty($excluded_groups))
1839 1839
 	{
1840 1840
 		// Make sure this is an array of integers
1841
-		$excluded_groups = array_filter((array) $excluded_groups, function ($v)
1841
+		$excluded_groups = array_filter((array) $excluded_groups, function($v)
1842 1842
 			{
1843 1843
 				return is_int($v) || is_string($v) && (string) intval($v) === $v;
1844 1844
 			});
@@ -2451,7 +2451,7 @@  discard block
 block discarded – undo
2451 2451
 
2452 2452
 	// Make sure the board_managers have access to all boards. First, find boards with gaps...
2453 2453
 	$where = '';
2454
-	foreach($board_managers_no_admin as $group)
2454
+	foreach ($board_managers_no_admin as $group)
2455 2455
 		$where .= (empty($where) ? '' : ' OR') . " (FIND_IN_SET({$group}, member_groups) = 0)";	
2456 2456
 
2457 2457
 	$request = $smcFunc['db_query']('', '
Please login to merge, or discard this patch.