Alexandre Julliard : testbot/web: Fix undefined variable error.

Alexandre Julliard julliard at winehq.org
Tue Aug 2 14:47:41 CDT 2022


Module: tools
Branch: master
Commit: b1882b9ccad8f04ce860adcc23a3225a43c07188
URL:    https://gitlab.winehq.org/winehq/tools/-/commit/b1882b9ccad8f04ce860adcc23a3225a43c07188

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Aug  2 13:44:56 2022 +0200

testbot/web: Fix undefined variable error.

This partially reverts 88bb46d5991d2c12925d08a861271da2cd41f96d.

---

 testbot/web/ResetPassword.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/ResetPassword.pl b/testbot/web/ResetPassword.pl
index b6c0ae9c..4b77e245 100644
--- a/testbot/web/ResetPassword.pl
+++ b/testbot/web/ResetPassword.pl
@@ -127,7 +127,7 @@ sub OnChangePassword($)
   }
 
   my $Sessions = CreateSessions();
-  ($ErrMessage, my $_Session) = $Sessions->NewSession($User, defined $self->GetParam("AutoLogin"));
+  ($ErrMessage, my $Session) = $Sessions->NewSession($User, defined $self->GetParam("AutoLogin"));
   if ($ErrMessage)
   {
     $self->AddError($ErrMessage, "Name");




More information about the wine-cvs mailing list