Skip to content

Commit 66ed26c

Browse files
authored
Fixed wallet bug
1 parent 2ca706f commit 66ed26c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pay/back.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,6 @@ function doAction($payRowId, $gateType){
300300
}
301301
showForm('پرداخت شما با موفقیت انجام شد 🚀 | 😍 در حال ارسال کانفیگ به تلگرام شما ...',$payDescription, true);
302302

303-
$stmt = $connection->prepare("UPDATE `users` SET `wallet` = `wallet` - ? WHERE `userid` = ?");
304-
$stmt->bind_param("ii", $amount, $user_id);
305-
$stmt->execute();
306303
include '../phpqrcode/qrlib.php';
307304
$vraylink = getConnectionLink($server_id, $uniqid, $protocol, $remark, $port, $netType, $inbound_id);
308305
foreach($vraylink as $vray_link){
@@ -317,7 +314,7 @@ function doAction($payRowId, $gateType){
317314
🔮 $remark \n <code>$vray_link</code>
318315
319316
";
320-
317+
321318
$file = RandomString().".png";
322319
$ecc = 'L';
323320
$pixel_Size = 10;

0 commit comments

Comments
 (0)