Skip to content

Commit

Permalink
[BUGFIX] Fix #3916: exception in CLI mode when using suggest TS example
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryd committed Dec 12, 2023
1 parent eb7d2e6 commit 7b6f495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/TypoScript/Examples/Suggest/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tx_solr_suggest {
}
}

[traverse(request.getQueryParams(), 'tx_solr/callback') == '']
[request && traverse(request.getQueryParams(), 'tx_solr/callback') == '']
tx_solr_suggest.config.additionalHeaders.10.header = Content-type: application/json
[global]

Expand Down

0 comments on commit 7b6f495

Please sign in to comment.