[BUGFIX] Change protection page form
This commit is contained in:
parent
dede4d0efa
commit
cd116df569
@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\View\StandaloneView;
|
|||||||
use TYPO3\CMS\Fluid\View\TemplatePaths;
|
use TYPO3\CMS\Fluid\View\TemplatePaths;
|
||||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||||
use Symfony\Component\Mime\Address;
|
use Symfony\Component\Mime\Address;
|
||||||
|
use TYPO3\CMS\Frontend\Page\PageRepository;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -373,12 +373,9 @@ class MailUtility
|
|||||||
UriBuilder::class
|
UriBuilder::class
|
||||||
);
|
);
|
||||||
if ($dataProtectionPid) {
|
if ($dataProtectionPid) {
|
||||||
$dataProtectionPid = $uriBuilder
|
$pageRepository = GeneralUtility::makeInstance(PageRepository::class);
|
||||||
->reset()
|
$urlPage = $pageRepository->getPage($settings['dataProtectionPid']);
|
||||||
->setTargetPageUid(
|
$dataProtectionPid = $domain.$urlPage['slug'];
|
||||||
$settings['dataProtectionPid']
|
|
||||||
)
|
|
||||||
->build();
|
|
||||||
}
|
}
|
||||||
$htmlView->assign('domain', $domain);
|
$htmlView->assign('domain', $domain);
|
||||||
$htmlView->assign('linkDataprotection', $dataProtectionPid);
|
$htmlView->assign('linkDataprotection', $dataProtectionPid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user