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:
vgilc 2018-08-16 09:47:04 +02:00
commit 855283421b
1 changed files with 2 additions and 1 deletions

View File

@ -586,7 +586,8 @@ if($cps_module > 0){
else{
$cps_inc = 0;
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');
}