mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
API list user details not woring if debug #886
This commit is contained in:
parent
4cc8d1502f
commit
e1ab1f90f1
@ -622,7 +622,7 @@ if (array_value_exists('action', 'add', $data)) {
|
||||
|
||||
$tempArray = array();
|
||||
|
||||
$query = $sql->prepare("SELECT `webVhostID`,`active`,`hdd`,`hddUsage`,`dns`,`externalID` FROM `webVhost` WHERE `userID`=? AND `resellerID`=?");
|
||||
$query = $sql->prepare("SELECT `webVhostID`,`active`,`hdd`,`hddUsage`,`defaultDomain` AS `dns`,`externalID` FROM `webVhost` WHERE `userID`=? AND `resellerID`=?");
|
||||
$query->execute(array($userArray['userdetails']['id'], $resellerID));
|
||||
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
$tempArray[] = $row;
|
||||
|
Loading…
x
Reference in New Issue
Block a user