[Web] Fix for adding inactive Rspamd settings rule

master
André 2018-07-15 16:02:27 +02:00
parent 599d14f854
commit 9017f3f83c
1 changed files with 1 additions and 1 deletions

View File

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