Merge branch 'ent-2647-version-open-fallo-funcions-cps' into 'develop'
Added missing enterprise_hook in get cps See merge request artica/pandorafms!1683
This commit is contained in:
commit
855283421b
|
@ -586,7 +586,8 @@ if($cps_module > 0){
|
||||||
else{
|
else{
|
||||||
$cps_inc = 0;
|
$cps_inc = 0;
|
||||||
if($id_agent_module){
|
if($id_agent_module){
|
||||||
$cps_inc = service_modules_cps($id_agent_module);
|
$cps_inc = enterprise_hook('service_modules_cps', array($id_agent_module));
|
||||||
|
if ($cps_inc === ENTERPRISE_NOT_HOOK) $cps_inc = 0;
|
||||||
}
|
}
|
||||||
$cps_array[$cps_inc] = __('Enabled');
|
$cps_array[$cps_inc] = __('Enabled');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue