Skip to content

Commit

Permalink
Merge pull request from GHSA-x9hg-j29f-wvvv
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Oct 6, 2020
1 parent a8109d4 commit 39e2559
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/knowbaseitem.class.php
Expand Up @@ -1292,7 +1292,9 @@ static function getListRequest(array $params, $type = 'search') {

}

$search_where = ['OR' => $ors];
$search_where = $criteria['WHERE']; // Visibility restrict criteria

$search_where[] = ['OR' => $ors];

// Add visibility date
$visibility_crit = [
Expand Down

0 comments on commit 39e2559

Please sign in to comment.