Fix booking url generator relying on non-existing variable
This commit is contained in:
@@ -151,9 +151,8 @@ class BookingUrlUtility
|
||||
*/
|
||||
protected static function buildUrl(array $query): string
|
||||
{
|
||||
$pageId = $GLOBALS['TSFE']->id;
|
||||
$baseUrl = GeneralUtility::makeInstance(SiteFinder::class)
|
||||
->getSiteByPageId($pageId)
|
||||
->getSiteByIdentifier('ep-reisen')
|
||||
->getBase();
|
||||
|
||||
return $baseUrl . '/buchung/maske_buchung.php?' . http_build_query($query, '', '&');
|
||||
|
||||
Reference in New Issue
Block a user