mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Fixed a PHP warning
This commit is contained in:
parent
f0aacc4c33
commit
a55b829aa1
@ -106,6 +106,7 @@ if (is_ajax ()) {
|
|||||||
$id_agent = get_parameter('id_agent');
|
$id_agent = get_parameter('id_agent');
|
||||||
$groups_to_add = get_parameter('groups');
|
$groups_to_add = get_parameter('groups');
|
||||||
if (enterprise_installed()) {
|
if (enterprise_installed()) {
|
||||||
|
if (empty($groups_to_add)) return 0;
|
||||||
enterprise_include('include/functions_agents.php');
|
enterprise_include('include/functions_agents.php');
|
||||||
$ret = enterprise_hook(
|
$ret = enterprise_hook(
|
||||||
'agents_update_secondary_groups',
|
'agents_update_secondary_groups',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user