From 5797512e02af39676992eb51bba8752be03213d5 Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Fri, 30 Jun 2023 14:56:41 +0200 Subject: [PATCH] fix: tree not displayed --- inc/config.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'] ]);