[Web] Fix missing return msg when resetting spam score

master
André 2018-10-18 22:32:37 +02:00
parent 67658c1a07
commit 2ac664ceb7
1 changed files with 5 additions and 0 deletions

View File

@ -1157,6 +1157,11 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$stmt->execute(array(
':username' => $username
));
$_SESSION['return'][] = array(
'type' => 'success',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
'msg' => array('mailbox_modified', $username)
);
continue;
}
$lowspamlevel = explode(',', $_data['spam_score'])[0];