[TYPO3-core] RFC: #14658: Feature: internal links with parameters outside the RTE (headlines, images ...)
Steffen Kamper
info at sk-typo3.de
Mon Nov 15 16:24:59 CET 2010
Hi,
the following patch was committed to trunk rev 9387
There was always an "&" added to öinks which change all cHashes.
vg Steffen
Index: class.tslib_content.php
===================================================================
--- class.tslib_content.php (revision 9386)
+++ class.tslib_content.php (revision 9387)
@@ -5285,8 +5285,10 @@
if ($forceTitle == '-') {
$forceTitle = ''; // The '-' character means 'no title'. Necessary
in order to specify further parameters without setting the title!
}
- $forceParams = trim($link_paramA[4]); // params value
- $conf['additionalParams'] .= $forceParams[0] == '&' ? $forceParams :
'&' . $forceParams;
+ if (isset($link_paramA[4]) && strlen(trim($link_paramA[4])) > 0) {
+ $forceParams = trim($link_paramA[4]); // params value
+ $conf['additionalParams'] .= $forceParams[0] == '&' ? $forceParams
: '&' . $forceParams;
+ }
// Check, if the target is coded as a JS open window link:
$JSwindowParts = array();
More information about the TYPO3-team-core
mailing list