Update mailbox.php
This commit is contained in:
parent
efb6bf4a1f
commit
855a3fbf35
|
@ -153,9 +153,9 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
|
||||||
$mailboxdata = mailbox_get_mailbox_details($mailbox);
|
$mailboxdata = mailbox_get_mailbox_details($mailbox);
|
||||||
try {
|
try {
|
||||||
$stmt = $pdo->prepare("SELECT IFNULL(COUNT(`address`), 0) AS `spamalias`
|
$stmt = $pdo->prepare("SELECT IFNULL(COUNT(`address`), 0) AS `spamalias`
|
||||||
FROM `spamalias`
|
FROM `spamalias`
|
||||||
WHERE `goto` = :username
|
WHERE `goto` = :username
|
||||||
AND `validity` >= :unixnow");
|
AND `validity` >= :unixnow");
|
||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':username' => $mailboxdata['username'],
|
':username' => $mailboxdata['username'],
|
||||||
':unixnow' => time()
|
':unixnow' => time()
|
||||||
|
|
Loading…
Reference in New Issue