Skip to content

Commit

Permalink
pkp/pkp-lib#10111 Replaced null by an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Jun 25, 2024
1 parent 28aebc9 commit 203d098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/search/MonographSearch.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function getKeywordsFromSearchFilters($searchFilters) {
$indexFieldMap[SUBMISSION_SEARCH_INDEX_TERMS] = 'indexTerms';
$keywords = array();
if (isset($searchFilters['query'])) {
$keywords[null] = $searchFilters['query'];
$keywords[''] = $searchFilters['query'];
}
foreach($indexFieldMap as $bitmap => $searchField) {
if (isset($searchFilters[$searchField]) && !empty($searchFilters[$searchField])) {
Expand Down

0 comments on commit 203d098

Please sign in to comment.