Fix MADE minor bugs

This commit is contained in:
Calvo 2023-10-26 16:23:07 +02:00
parent 763f656822
commit aaea2e59c4
4 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,3 @@
-- Active: 1685706586212@@172.16.0.2@3306@pandora
START TRANSACTION;
ALTER TABLE tevent_filter ADD private_filter_user text NULL;

View File

@ -1326,7 +1326,7 @@ if ($update_module === true || $create_module === true) {
*/
$post_process = (string) get_parameter('post_process', 0.0);
if (modules_made_compatible($id_module_type) === false) {
if (modules_made_compatible($id_module_type) === true) {
$made_enabled = (bool) get_parameter_checkbox('made_enabled', 0);
} else {
$made_enabled = false;

View File

@ -1933,7 +1933,7 @@ ui_require_jquery_file('json');
$('#ff_timeout_disable').hide();
}
var madeCompatibleTypes = ["1", "4", "5", "15", "16", "22", "30", "34"];
var madeCompatibleTypes = ["1", "4", "5", "8", "15", "16", "22", "30", "34"];
if (madeCompatibleTypes.includes(type_selected)) {
$('#advanced-made_enabled').show();
$('#advanced-caption_made_enabled').show();

View File

@ -4776,6 +4776,7 @@ function modules_made_compatible($id_tipo_modulo)
1,
4,
5,
8,
15,
16,
22,