mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-12 10:45:14 +02:00
[Web] Fix missing return msg when resetting spam score
This commit is contained in:
parent
67658c1a07
commit
2ac664ceb7
@ -1157,6 +1157,11 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':username' => $username
|
':username' => $username
|
||||||
));
|
));
|
||||||
|
$_SESSION['return'][] = array(
|
||||||
|
'type' => 'success',
|
||||||
|
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||||
|
'msg' => array('mailbox_modified', $username)
|
||||||
|
);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$lowspamlevel = explode(',', $_data['spam_score'])[0];
|
$lowspamlevel = explode(',', $_data['spam_score'])[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user