mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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[-1] = __('Disabled');
|
||||||
|
$cps_array[0] = __('Enabled');
|
||||||
|
|
||||||
if ($cps_module > 0) {
|
if ($cps_module > 0) {
|
||||||
$cps_array[$cps_module] = __('Enabled');
|
$cps_array[$cps_module] = __('Enabled');
|
||||||
} else {
|
} else {
|
||||||
@ -705,8 +707,10 @@ if ($cps_module > 0) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($cps_inc > -1) {
|
||||||
$cps_array[$cps_inc] = __('Enabled');
|
$cps_array[$cps_inc] = __('Enabled');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// JS Scripts for ff thresholds.
|
// JS Scripts for ff thresholds.
|
||||||
ob_start();
|
ob_start();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user