From a7352f6f06d3404555d981d92b2eaf24a4f31517 Mon Sep 17 00:00:00 2001 From: Jonas Raoni Soares da Silva Date: Tue, 25 Jun 2024 14:17:38 +0300 Subject: [PATCH] pkp/pkp-lib#10111 Replaced null by an empty string --- classes/search/ArticleSearch.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/search/ArticleSearch.inc.php b/classes/search/ArticleSearch.inc.php index 772925bb79..63dc02b3ca 100644 --- a/classes/search/ArticleSearch.inc.php +++ b/classes/search/ArticleSearch.inc.php @@ -210,7 +210,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])) {