Update functions.mailbox.inc.php

[Web] Remove invalid parameter from sieve_filters update query, fixes #1714
master
André Peters 2018-08-26 18:31:44 +02:00 committed by GitHub
parent 5b4b184778
commit 4b09b5b1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -139,7 +139,6 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$stmt = $pdo->prepare("UPDATE `sieve_filters` SET `script_name` = 'inactive' WHERE `username` = :username AND `filter_type` = :filter_type");
$stmt->execute(array(
':username' => $username,
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
':filter_type' => $filter_type
));
}
@ -3394,4 +3393,4 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'mailbox'))) {
update_sogo_static_view();
}
}
}