mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Added missing enterprise_hook in get cps
This commit is contained in:
parent
d31716713c
commit
54803de45d
@ -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');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user