diff --git a/inc/config.class.php b/inc/config.class.php index c6eabb3..239e608 100644 --- a/inc/config.class.php +++ b/inc/config.class.php @@ -357,8 +357,7 @@ function getNodesFromDb() { 'WHERE' => [ 'level' => $n, 'locations_id' => $nodes[$n-1], - getEntitiesRestrictCriteria('glpi_locations', '', '', true) - ], + ] + getEntitiesRestrictCriteria('glpi_locations', '', '', true), 'ORDER' => ['completename ASC'] ]);