Skip to content

Commit 8df4a32

Browse files
committed
fix sql query typo, closes #3762
1 parent 9ab66a5 commit 8df4a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/postfix_filter_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function update($event_name, $data) {
8080

8181
$type = $data["new"]["type"];
8282
if($type != '') {
83-
$sql = "SELECT * FROM mail_content_filter WHERE server_id = ? AND type = ?' AND active = 'y'";
83+
$sql = "SELECT * FROM mail_content_filter WHERE server_id = ? AND type = ? AND active = 'y'";
8484
$rules = $app->db->queryAllRecords($sql, $conf["server_id"], $type);
8585
$content = '';
8686
foreach($rules as $rule) {

0 commit comments

Comments
 (0)