diff --git a/public/admin.php b/public/admin.php index 831c7cd37c..da036f7aa9 100644 --- a/public/admin.php +++ b/public/admin.php @@ -91,9 +91,9 @@ } if ($action === 'copy-unlocks') { - $fromAchievementIds = explode(',', requestInputSanitized('s')); + $fromAchievementIds = separateList(requestInputSanitized('s')); $fromAchievementCount = count($fromAchievementIds); - $toAchievementIds = explode(',', requestInputSanitized('a')); + $toAchievementIds = separateList(requestInputSanitized('a')); // determine which players have earned all of the required achievements $existing = PlayerAchievement::whereIn('achievement_id', $fromAchievementIds)