mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
API TSDNS delete not working #887
This commit is contained in:
parent
e1ab1f90f1
commit
2f8da0d793
@ -280,7 +280,7 @@ if (!isset($success['false']) and array_value_exists('action', 'add', $data)) {
|
||||
|
||||
$affectedCount = 0;
|
||||
|
||||
$query = $sql->prepare("SELECT `dnsID`,`userID`,`tsdnsID`,`dns` FROM `webVhost` WHERE `" . $from[$data['identify_server_by']] . "`=? AND `resellerID`=?");
|
||||
$query = $sql->prepare("SELECT `dnsID`,`userID`,`tsdnsID`,`dns` FROM `voice_dns` WHERE `" . $from[$data['identify_server_by']] . "`=? AND `resellerID`=?");
|
||||
$query->execute(array($data[$data['identify_server_by']], $resellerID));
|
||||
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user