Skip to content

Commit

Permalink
fix KB item selection
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Sep 26, 2022
1 parent 6c694c4 commit 960815e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/KnowbaseItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ public static function getVisibilityCriteria(bool $forceall = false): array
$where['OR'] = [
'glpi_knowbaseitems.users_id' => Session::getLoginUserID(),
'glpi_knowbaseitems_users.users_id' => Session::getLoginUserID(),
'glpi_knowbaseitems.is_faq' => 1,
];
} else if ($is_public_faq_context) {
$where = [
Expand Down

0 comments on commit 960815e

Please sign in to comment.