[Web] Fix for adding inactive Rspamd settings rule
parent
599d14f854
commit
9017f3f83c
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue