mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
minor fix in cps selector
This commit is contained in:
parent
e8f7246e54
commit
1b93472426
@ -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…
x
Reference in New Issue
Block a user