Fix booking url generator relying on non-existing variable

This commit is contained in:
Björn Fromme
2022-02-22 13:28:40 +01:00
parent 1e633510a8
commit 43a752e078
@@ -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, '', '&');