1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-12 10:45:14 +02:00

[Web] Fix for adding inactive Rspamd settings rule

This commit is contained in:
André 2018-07-15 16:02:27 +02:00
parent 599d14f854
commit 9017f3f83c

View File

@ -13,7 +13,7 @@ function rsettings($_action, $_data = null) {
}
$content = $_data['content'];
$desc = $_data['desc'];
$active = $_data['active'];
$active = intval($_data['active']);
if (empty($content)) {
$_SESSION['return'] = array(
'type' => 'danger',