From 526426e2dda0b11c99b8e1c5e887d00884da01a4 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 23 May 2023 17:55:42 +0330 Subject: Alireza :100: Co-Authored-By: Alireza Ahmadi --- web/html/xui/client_bulk_modal.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/xui/client_bulk_modal.html') 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; -- cgit v1.2.3