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:
commit
5d943510be
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue