[Web] Fix update for mailbox

master
André Peters 2018-02-26 21:57:32 +01:00
parent 819626ab60
commit ebc395a4ae
1 changed files with 1 additions and 1 deletions

View File

@ -2115,7 +2115,7 @@ function mailbox($_action, $_type, $_data = null, $attr = null) {
$password_hashed = hash_password($password); $password_hashed = hash_password($password);
try { try {
$stmt = $pdo->prepare("UPDATE `mailbox` SET $stmt = $pdo->prepare("UPDATE `mailbox` SET
`password` = :password_hashed, `password` = :password_hashed
WHERE `username` = :username"); WHERE `username` = :username");
$stmt->execute(array( $stmt->execute(array(
':password_hashed' => $password_hashed, ':password_hashed' => $password_hashed,