Skip to content
Snippets Groups Projects
Commit 94435811 authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[BUGFIX] Fix link for workspace preview

The absolute link generated for mailings to
workspace editors misses the page id.

The uid has been accidentally removed with
commit for #56359

Resolves: #56375
Releases: 6.2
Change-Id: I521aee2b96c542c27a911ffeab5d9bfffc8b9a46
Reviewed-on: https://review.typo3.org/27893
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
parent 8cbb774c
No related merge requests found
......@@ -618,7 +618,7 @@ class WorkspaceService implements \TYPO3\CMS\Core\SingletonInterface {
$viewScript = $backPath . $uriBuilder->uriFor('index', array(), 'Preview', 'workspaces', 'web_workspacesworkspaces') . '&id=';
GeneralUtility::_GETset($originalM, 'M');
if ($addDomain === TRUE) {
return BackendUtility::getViewDomain($uid) . $redirect . urlencode($viewScript);
return BackendUtility::getViewDomain($uid) . $redirect . urlencode($viewScript) . $uid;
} else {
return $viewScript;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment