Fixed problems with check discard unknown events in module configuration. Integria: #4242, Gitlab: #324
This commit is contained in:
parent
09e1b8ce1c
commit
3b97095fda
|
@ -1075,7 +1075,7 @@ if ($update_module || $create_module) {
|
||||||
|
|
||||||
$throw_unknown_events = (bool)get_parameter('throw_unknown_events', false);
|
$throw_unknown_events = (bool)get_parameter('throw_unknown_events', false);
|
||||||
//Set the event type that can show.
|
//Set the event type that can show.
|
||||||
$disabled_types_event = array(EVENTS_GOING_UNKNOWN => (int)!$throw_unknown_events);
|
$disabled_types_event = array(EVENTS_GOING_UNKNOWN => (int)$throw_unknown_events);
|
||||||
$disabled_types_event = io_json_mb_encode($disabled_types_event);
|
$disabled_types_event = io_json_mb_encode($disabled_types_event);
|
||||||
|
|
||||||
$module_macro_names = (array) get_parameter('module_macro_names', array());
|
$module_macro_names = (array) get_parameter('module_macro_names', array());
|
||||||
|
|
Loading…
Reference in New Issue