Fix issue with non-sequential keys in the array

This commit is contained in:
Daniel_I_Am 2020-09-23 19:55:05 +02:00
parent 1516a36a13
commit d1abf6754e
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84

View File

@ -57,6 +57,9 @@ class HelixRankCheckController extends Controller
return false; return false;
}); });
// Ensure that the keys are still sequential
$members = array_values($members);
return [ return [
'success' => true, 'success' => true,
'error' => null, 'error' => null,