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:
parent
599d14f854
commit
9017f3f83c
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user