Bugfix
This commit is contained in:
1 file changed
+1
-1
@@ -12,7 +12,7 @@ if ( $_SERVER[ 'REQUEST_METHOD' ] !== 'GET' || ! hash_equals( RSPAMD_SETTINGS_MA
|
|||||||
}
|
}
|
||||||
|
|
||||||
$db = get_db_instance();
|
$db = get_db_instance();
|
||||||
$stmt = $db->query( 'SELECT username, spam_reject_score FROM mailbox WHERE active = 1 AND spam_reject_score != ?;' );
|
$stmt = $db->prepare( 'SELECT username, spam_reject_score FROM mailbox WHERE active = 1 AND spam_reject_score != ?;' );
|
||||||
$stmt->execute( [ DEFAULT_SPAM_REJECT_SCORE ] );
|
$stmt->execute( [ DEFAULT_SPAM_REJECT_SCORE ] );
|
||||||
$recipients_by_policy = [];
|
$recipients_by_policy = [];
|
||||||
while ( $mailbox = $stmt->fetch( PDO::FETCH_ASSOC ) ) {
|
while ( $mailbox = $stmt->fetch( PDO::FETCH_ASSOC ) ) {
|
||||||
|
|||||||
Reference in new issue
Block a user