Fix: Ensure proper argument type
This commit is contained in:
@@ -30,7 +30,7 @@ class ReferrerMiddleware implements MiddlewareInterface
|
|||||||
$siteFinder = GeneralUtility::makeInstance(SiteFinder::class);
|
$siteFinder = GeneralUtility::makeInstance(SiteFinder::class);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$site = $siteFinder->getSiteByPageId($ref);
|
$site = $siteFinder->getSiteByPageId((int) $ref);
|
||||||
$url = $site->getRouter()->generateUri($ref);
|
$url = $site->getRouter()->generateUri($ref);
|
||||||
$GLOBALS['TSFE']->fe_user->setKey('ses', 'referrer', $url);
|
$GLOBALS['TSFE']->fe_user->setKey('ses', 'referrer', $url);
|
||||||
$GLOBALS['TSFE']->fe_user->storeSessionData();
|
$GLOBALS['TSFE']->fe_user->storeSessionData();
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTE {
|
|||||||
}
|
}
|
||||||
tx_epproducts_domain_model_product {
|
tx_epproducts_domain_model_product {
|
||||||
included_services.preset = ep-minimal
|
included_services.preset = ep-minimal
|
||||||
|
buttons.link.queryParametersSelector.enabled = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default.buttons.link.queryParametersSelector.enabled = 1
|
default.buttons.link.queryParametersSelector.enabled = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user