[Web] Get all app passwd ids for a single user by using get/app-passwd/all/user@domain
This commit is contained in:
@@ -200,7 +200,7 @@ function app_passwd($_action, $_data = null) {
|
||||
FROM `app_passwd`
|
||||
WHERE `id` = :id
|
||||
AND `mailbox` = :username");
|
||||
$stmt->execute(array(':id' => $_data, ':username' => $username));
|
||||
$stmt->execute(array(':id' => $_data['id'], ':username' => $username));
|
||||
$app_passwd_data = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||
return $app_passwd_data;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user