Jesse Norell
2016-02-17 8df4a32cb1db8d830dab8b067e839c484d5b4f7f
fix sql query typo, closes #3762
1 files modified
2 ■■■ changed files
server/plugins-available/postfix_filter_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/postfix_filter_plugin.inc.php
@@ -80,7 +80,7 @@
        $type = $data["new"]["type"];
        if($type != '') {
            $sql = "SELECT * FROM mail_content_filter WHERE server_id = ? AND type = ?' AND active = 'y'";
            $sql = "SELECT * FROM mail_content_filter WHERE server_id = ? AND type = ? AND active = 'y'";
            $rules = $app->db->queryAllRecords($sql, $conf["server_id"], $type);
            $content = '';
            foreach($rules as $rule) {