diff --git a/includes/SpecialMigrateUserAccount.php b/includes/SpecialMigrateUserAccount.php index 8e231e6..baabd06 100644 --- a/includes/SpecialMigrateUserAccount.php +++ b/includes/SpecialMigrateUserAccount.php @@ -292,7 +292,7 @@ public function showTokenDetails() { $password = $vals['wppassword']; $confirmPassword = $vals['wpconfirmpassword']; - $newUsername = $vals['wpnewusername']; + $newUsername = $vals['wpnewusername'] ?? null; // Anything past this point assumes that we have the information we need to change their credentials