[Web] Fix setting a rate limit when adding a domain

master
André 2018-08-21 21:23:06 +02:00
parent d28fd4070b
commit 1dea230b7b
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
return false;
}
if (!empty(intval($_data['rl_value']))) {
ratelimit('edit', 'domain', array('rl_value' => $rl_value, 'rl_frame' => $_data['rl_frame'], 'object' => $domain));
ratelimit('edit', 'domain', array('rl_value' => $_data['rl_value'], 'rl_frame' => $_data['rl_frame'], 'object' => $domain));
}
if (!empty($restart_sogo)) {
$restart_reponse = json_decode(docker('post', 'sogo-mailcow', 'restart'), true);