diff --git a/data/web/inc/functions.rsettings.inc.php b/data/web/inc/functions.rsettings.inc.php index 478e41e48..aac8631c5 100644 --- a/data/web/inc/functions.rsettings.inc.php +++ b/data/web/inc/functions.rsettings.inc.php @@ -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',