Skip to content

Commit

Permalink
fix(category): entity restriction not applied
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jun 18, 2020
1 parent 7485912 commit fb2a195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/category.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static function getCategoryTree($rootId = 0, $helpdeskHome = false) {
]
]
+ ($helpdeskHome ? ['helpdesk_home' => '1']: [])
+ $dbUtils->getEntitiesRestrictCriteria($form_table, "", "", true, false),
+ [$dbUtils->getEntitiesRestrictCriteria($form_table, "", "", true, false)],
]);
$count2 = new QuerySubQuery([
'COUNT' => 'count',
Expand Down

0 comments on commit fb2a195

Please sign in to comment.