Skip to content

Commit 6a136e4

Browse files
authored
Update gift2all.php
1 parent 3ca202b commit 6a136e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

settings/gift2all.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
include_once '../config.php';
44
$time = time();
55

6-
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
7-
86
$stmt = $connection->prepare("SELECT * FROM `gift_list` LIMIT 1");
97
$stmt->execute();
108
$giftList = $stmt->get_result();
@@ -111,7 +109,7 @@
111109
$clientEnable = $client['enable'];
112110

113111
$responseEdit = null;
114-
if(count(value: $clients) > 1 && $clientTotal > 0 && $clientExpiry > 0 && $clientEnable){
112+
if(count($clients) > 1 && $clientTotal > 0 && $clientExpiry > 0 && $clientEnable){
115113
$responseEdit = editClientTraffic($server_id, $inbound_id, $uuid, ($volume / 1024), $day);
116114
$orderExistStmt = $connection->prepare("SELECT * FROM `orders_list` WHERE `server_id` = ? AND `inbound_id` = ? AND `uuid` = ?");
117115
$orderExistStmt->bind_param("iis", $server_id, $inbound_id, $uuid);

0 commit comments

Comments
 (0)