Skip to content

Commit

Permalink
Fixed #3302 anonymous guest carts being linked to single user
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Oct 16, 2023
1 parent fb9d51b commit d4d4dc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/console/controllers/UpgradeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,7 @@ public function _migrateCustomers(): void
->andWhere(['not', ['o.email' => null]])
->groupBy(['[[o.email]]'])
->column();
$guestEmails = array_filter($guestEmails);
$this->stdoutlast(' Done. Found ' . count($guestEmails) . ' guest emails.', Console::FG_GREEN);

// We know we have to make a user for every guest email address
Expand Down

0 comments on commit d4d4dc7

Please sign in to comment.