Issue Bug Closed

#86527XmlSitemapRenderer uses wrong way to fetch page-type

Stefan Neufeind 10/01/18, 21:19 updated 10/02/18, 10:28

Description

$request->getQueryParams()[‘type’] only works if type was passed as a get-parameter. However if the PageTypeEnhancer resolved the URL the type used is in $GLOBALS[‘TSFE’]->type. (Thanks to Benni for the hint.)

Reviews 1