commit 2d38d642e823145267386de74380d0fc6e6dab72
Author: Tamás Gulácsi <tgulacsi78@gmail.com>
Date:   Tue Apr 14 20:26:20 2020 +0200

    fix missing initialization of t_reset and t_result
    
    Fixes #26880

diff --git a/core/commands/UserResetPasswordCommand.php b/core/commands/UserResetPasswordCommand.php
index 000713da2..01a859310 100644
--- a/core/commands/UserResetPasswordCommand.php
+++ b/core/commands/UserResetPasswordCommand.php
@@ -96,7 +96,7 @@ class UserResetPasswordCommand extends Command {
 		} else {
 			$t_result = user_reset_failed_login_count_to_zero( $this->user_id_reset );
 		}
-		return array();
+		return array( $t_reset, $t_result );
 	}
 }
 
diff --git a/manage_user_reset.php b/manage_user_reset.php
index 97c78a012..97004087b 100644
--- a/manage_user_reset.php
+++ b/manage_user_reset.php
@@ -52,7 +52,7 @@ $t_data = array(
 );
 
 $t_command = new UserResetPasswordCommand( $t_data );
-$t_command->execute();
+list( $t_reset, $t_result ) = $t_command->execute();
 
 $t_redirect_url = 'manage_user_page.php';
 
