diff --git a/Configuration/TypoScript/Examples/Suggest/setup.typoscript b/Configuration/TypoScript/Examples/Suggest/setup.typoscript index 185fc409bd..7ec04fd15a 100644 --- a/Configuration/TypoScript/Examples/Suggest/setup.typoscript +++ b/Configuration/TypoScript/Examples/Suggest/setup.typoscript @@ -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]