Skip to content

Commit 333fefe

Browse files
committed
fix(category): entity restriction not applied
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 41e59c1 commit 333fefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/category.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static function getCategoryTree($rootId = 0, $helpdeskHome = false) {
120120
]
121121
]
122122
+ ($helpdeskHome ? ['helpdesk_home' => '1']: [])
123-
+ $dbUtils->getEntitiesRestrictCriteria($form_table, "", "", true, false),
123+
+ [$dbUtils->getEntitiesRestrictCriteria($form_table, "", "", true, false)],
124124
]);
125125
$count2 = new QuerySubQuery([
126126
'COUNT' => 'count',

0 commit comments

Comments
 (0)