Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-23 17:25:42 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-23 17:25:42 +0300
commit526426e2dda0b11c99b8e1c5e887d00884da01a4 (patch)
tree88667c7caf1790b1d15cedaeffd492d45034e509 /web/html/xui/client_bulk_modal.html
parent2223a21cfcd7173aae9c38558ce5865ebbd27097 (diff)
Alireza :100:
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/client_bulk_modal.html')
-rw-r--r--web/html/xui/client_bulk_modal.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index 48eb2cbc..e4c46cc0 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -158,8 +158,8 @@
newClient = clientsBulkModal.newClient(clientsBulkModal.dbInbound.protocol);
if (method == 4) newClient.email = "";
newClient.email += useNum ? prefix + i.toString() + postfix : prefix + postfix;
- newClient.subId = clientsBulkModal.subId;
- newClient.tgId = clientsBulkModal.tgId;
+ if (clientsBulkModal.subId.length > 0) newClient.subId = clientsBulkModal.subId;
+ if (clientsBulkModal.tgId.length > 0) newClient.tgId = clientsBulkModal.tgId;
newClient.limitIp = clientsBulkModal.limitIp;
newClient._totalGB = clientsBulkModal.totalGB;
newClient._expiryTime = clientsBulkModal.expiryTime;