Skip to content

Commit 46b494d

Browse files
Rom1-Bcedric-anne
authored andcommitted
fix: tree not displayed
1 parent db0e569 commit 46b494d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inc/config.class.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,7 @@ function getNodesFromDb() {
357357
'WHERE' => [
358358
'level' => $n,
359359
'locations_id' => $nodes[$n-1],
360-
getEntitiesRestrictCriteria('glpi_locations', '', '', true)
361-
],
360+
] + getEntitiesRestrictCriteria('glpi_locations', '', '', true),
362361
'ORDER' => ['completename ASC']
363362
]);
364363

0 commit comments

Comments
 (0)