3Z4LPN - fix syntax error arrow function php < 7.4
This commit is contained in:
@@ -615,7 +615,7 @@ class Px extends MY_Controller
|
||||
$child_nat_groups[] = isset($nat_group_map[$child_id]) ? $nat_group_map[$child_id] : 0;
|
||||
}
|
||||
|
||||
$all_stemcell = !in_array(false, array_map(fn($g) => $g == 7, $child_nat_groups), true);
|
||||
$all_stemcell = !in_array(false, array_map(function($g) { return $g == 7; }, $child_nat_groups), true);
|
||||
$any_stemcell = in_array(7, $child_nat_groups);
|
||||
|
||||
if ($is_stemcell == 'Y' && !$all_stemcell) continue;
|
||||
|
||||
Reference in New Issue
Block a user