mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed warning
This commit is contained in:
parent
18800feaae
commit
7b22caaea8
@ -1739,6 +1739,7 @@ function agents_get_status($id_agent = 0, $noACLs = false) {
|
|||||||
// Get all non disabled modules of the agent
|
// Get all non disabled modules of the agent
|
||||||
$all_modules = db_get_all_rows_filter('tagente_modulo',
|
$all_modules = db_get_all_rows_filter('tagente_modulo',
|
||||||
$filter_modules, 'id_agente_modulo');
|
$filter_modules, 'id_agente_modulo');
|
||||||
|
if ($all_modules === false) $all_modules = array();
|
||||||
|
|
||||||
$result_modules = array();
|
$result_modules = array();
|
||||||
// Skip non init modules
|
// Skip non init modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user