There was an error while loading. Please reload this page.
2 parents 9d00e38 + 6319336 commit 74fd360Copy full SHA for 74fd360
1 file changed
lib/Repair/ResetEmails.php
@@ -29,7 +29,7 @@ public function getName(): string {
29
public function run(IOutput $output) {
30
foreach ($this->guestManager->listGuests() as $guestId) {
31
$guest = $this->userManager->get($guestId);
32
- if (strtolower($guest->getSystemEMailAddress()) !== strtolower($guestId)) {
+ if (strtolower($guest->getSystemEMailAddress() ?? '') !== strtolower($guestId)) {
33
$this->config->setUserValue($guestId, 'guests', 'old_email', $guest->getSystemEMailAddress());
34
$guest->setSystemEMailAddress(strtolower($guestId));
35
}
0 commit comments