From b8c0db4067d2eede7b5ad9e6ea2a3ccc0f463778 Mon Sep 17 00:00:00 2001 From: Arne Weiss Date: Mon, 1 Jun 2026 10:01:47 +0200 Subject: [PATCH] Fix DB insert: remove add_prefix=false so table prefix is applied Db::insert() was called with add_prefix=false, causing it to target 'simple_withdrawal_request' instead of '{prefix}simple_withdrawal_request'. Dropping the explicit false restores the default (true). Co-Authored-By: Claude Sonnet 4.6 --- simple_withdrawalbutton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_withdrawalbutton.php b/simple_withdrawalbutton.php index 45804e1..4c96842 100644 --- a/simple_withdrawalbutton.php +++ b/simple_withdrawalbutton.php @@ -464,7 +464,7 @@ class Simple_withdrawalbutton extends Module 'user_agent_hash' => $userAgentHash ?: null, ]; - $ok = Db::getInstance()->insert(self::TABLE_REQUEST, $insert, false, true, Db::INSERT, false); + $ok = Db::getInstance()->insert(self::TABLE_REQUEST, $insert, false, true, Db::INSERT); if (!$ok) { return false; }