瀏覽代碼

Update functions.mailbox.inc.php

[Web] Remove invalid parameter from sieve_filters update query, fixes #1714
André Peters 7 年之前
父節點
當前提交
4b09b5b1bb
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      data/web/inc/functions.mailbox.inc.php

+ 1 - 2
data/web/inc/functions.mailbox.inc.php

@@ -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();
   }
-}
+}