Skip to content

Commit

Permalink
Bug #13729: fixing technical error when using XMLForm in local kmelia…
Browse files Browse the repository at this point in the history
… search.
  • Loading branch information
SilverYoCha committed Jan 12, 2024
1 parent 229b5bd commit c818a17
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -43,7 +43,9 @@
SearchContext searchContext = (SearchContext) request.getAttribute("SearchContext");
String query = "";
PagesContext formContext = new PagesContext();
formContext.setLanguage(User.getCurrentRequester().getUserPreferences().getLanguage());
final User currentRequester = User.getCurrentRequester();
formContext.setUserId(currentRequester.getId());
formContext.setLanguage(currentRequester.getUserPreferences().getLanguage());
if (searchContext != null) {
query = searchContext.getQuery();
formContext = searchContext.getFormContext();
Expand Down

0 comments on commit c818a17

Please sign in to comment.