Merge branch 'ent-10363-15056-CPS-Disabled-desaparece-al-deshabilitarlo-en-Opciones-Avanzadas-de-Modulo' into 'develop'

minor fix in cps selector

See merge request artica/pandorafms!5665
This commit is contained in:
Rafael Ameijeiras 2023-04-25 13:26:26 +00:00
commit 5d943510be
1 changed files with 5 additions and 1 deletions

View File

@ -694,6 +694,8 @@ if (isset($module['id_policy_module']) === true) {
}
$cps_array[-1] = __('Disabled');
$cps_array[0] = __('Enabled');
if ($cps_module > 0) {
$cps_array[$cps_module] = __('Enabled');
} else {
@ -705,7 +707,9 @@ if ($cps_module > 0) {
}
}
$cps_array[$cps_inc] = __('Enabled');
if ($cps_inc > -1) {
$cps_array[$cps_inc] = __('Enabled');
}
}
// JS Scripts for ff thresholds.