Commit 1376b300 authored by enured's avatar enured
Browse files

{{pageAlias:T}} not necessary anymore. Now its possible to get the same page with character '&'.

parent 7fcae5d6
Pipeline #6497 passed with stages
in 2 minutes and 53 seconds
......@@ -760,8 +760,8 @@ class Link {
$keyName = $this->tableVarName[$key]; // convert token to name
if ($key == TOKEN_PAGE && $value == '') {
$value = $this->store->getVar(TYPO3_PAGE_ID, STORE_TYPO3); // If no pageid|pagealias is defined, take current page
if ($key == TOKEN_PAGE && ($value == '' || $value[0] == '&')) {
$value = $this->store->getVar(TYPO3_PAGE_ID, STORE_TYPO3) . $value; // If no pageid|pagealias is defined, take current page
}
$value = Token::checkForEmptyValue($key, $value);
......
Supports Markdown
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