Fixed problems with check discard unknown events in module configuration. Integria: #4242, Gitlab: #324

This commit is contained in:
m-lopez-f 2017-02-21 12:09:07 +01:00
parent 09e1b8ce1c
commit 3b97095fda
1 changed files with 1 additions and 1 deletions

View File

@ -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());