From b9bae69e6a768ae985ed0d2cf1842cd616873f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Thu, 2 Jan 2025 16:52:57 +0100 Subject: [PATCH] fix: fix transaction reset after mail failure --- game/scripts/game/main/actions/lostPassword.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game/scripts/game/main/actions/lostPassword.inc b/game/scripts/game/main/actions/lostPassword.inc index 3edbf8a..083f7fe 100644 --- a/game/scripts/game/main/actions/lostPassword.inc +++ b/game/scripts/game/main/actions/lostPassword.inc @@ -95,7 +95,8 @@ class main_lostPassword { )); if (!$rv) { - $this->db->end(true); $this->db->start(); + $this->db->end(true); + $this->db->begin(); return null; }