From 1dea230b7b3912f9b0405a55bc4ac00d7a447dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Tue, 21 Aug 2018 21:23:06 +0200 Subject: [PATCH] [Web] Fix setting a rate limit when adding a domain --- data/web/inc/functions.mailbox.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/functions.mailbox.inc.php b/data/web/inc/functions.mailbox.inc.php index 13a339340..200ff0ae3 100644 --- a/data/web/inc/functions.mailbox.inc.php +++ b/data/web/inc/functions.mailbox.inc.php @@ -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);