Skip to content

Commit

Permalink
Fix PHP warning for undefined array key 'wpnewusername'.
Browse files Browse the repository at this point in the history
TehKittyCat committed Dec 15, 2023

Verified

This commit was signed with the committer’s verified signature.
evilrobot-01 Frank Bell
1 parent 5f51e26 commit f901e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/SpecialMigrateUserAccount.php
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f901e81

Please sign in to comment.