mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'develop' of https://brutus.artica.lan:8081/artica/pandorafms into develop
This commit is contained in:
commit
19b68ab784
@ -319,7 +319,7 @@ final class Container extends Model
|
|||||||
// Default filter.
|
// Default filter.
|
||||||
$filter = ['id_layout' => $layoutId];
|
$filter = ['id_layout' => $layoutId];
|
||||||
$fields = [
|
$fields = [
|
||||||
'id',
|
'DISTINCT(id) AS id',
|
||||||
'type',
|
'type',
|
||||||
'cache_expiration',
|
'cache_expiration',
|
||||||
'id_layout',
|
'id_layout',
|
||||||
@ -340,8 +340,9 @@ final class Container extends Model
|
|||||||
// Only true condition if type is GROUP_ITEM.
|
// Only true condition if type is GROUP_ITEM.
|
||||||
$filter[] = '('.\db_format_array_where_clause_sql(
|
$filter[] = '('.\db_format_array_where_clause_sql(
|
||||||
[
|
[
|
||||||
'type' => GROUP_ITEM,
|
'id_layout' => $layoutId,
|
||||||
'id_group' => $groupsFilter,
|
'type' => GROUP_ITEM,
|
||||||
|
'id_group' => $groupsFilter,
|
||||||
]
|
]
|
||||||
).')';
|
).')';
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ if (check_acl($config['id_user'], 0, 'AR')) {
|
|||||||
enterprise_hook('inventory_menu');
|
enterprise_hook('inventory_menu');
|
||||||
|
|
||||||
if ($config['activate_netflow'] || $config['activate_nta']) {
|
if ($config['activate_netflow'] || $config['activate_nta']) {
|
||||||
$sub['network'] = [
|
$sub['network_traffic'] = [
|
||||||
'text' => __('Network'),
|
'text' => __('Network'),
|
||||||
'id' => 'Network',
|
'id' => 'Network',
|
||||||
'type' => 'direct',
|
'type' => 'direct',
|
||||||
@ -117,7 +117,7 @@ if (check_acl($config['id_user'], 0, 'AR')) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sub['network']['sub2'] = $netflow_sub;
|
$sub['network_traffic']['sub2'] = $netflow_sub;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($config['log_collector'] == 1) {
|
if ($config['log_collector'] == 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user