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 authored and dkd-kaehm committed Dec 14, 2023
1 parent 966a6ab commit 913ee97
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 913ee97

Please sign in to comment.