* Fixed bug #2019: Unable to add a Querystring to a <LINK> id/type-pair (patch by...
authorMichael Stucki <michael.stucki@typo3.org>
Sun, 2 Mar 2008 20:36:27 +0000 (20:36 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Sun, 2 Mar 2008 20:36:27 +0000 (20:36 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3344 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index a72a304..7c72950 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
        * Fixed bug #5788: Add a delete button to the yellow warning box for removing the ENABLE_INSTALL_TOOL_FILE
        * Added hook #7657: New hook "tslib_fe-contentStrReplace" allows to overwrite content on a website after all the caching was already done. Only applies if "config.sendCacheHeaders" is disabled! This hook is very useful for small on-the-fly replacements, for example display the fe_user name, or the time used for page generation.
        * Fixed bug #5442: When using lockSSL redirection, the port number is not configurable (patch by Christopher Hlubek)
+       * Fixed bug #2019: Unable to add a Querystring to a <LINK> id/type-pair (patch by Rene Wagner)
 
 2008-03-01  Dmitry Dulepov  <dmitry@typo3.org>
 
index 264e937..2970815 100755 (executable)
@@ -5230,7 +5230,8 @@ class tslib_cObj {
                                        $pairParts = t3lib_div::trimExplode(',',$link_param);
                                        if (count($pairParts)>1)        {
                                                $link_param = $pairParts[0];
-                                               $theTypeP = $pairParts[1];              // Overruling 'type'
+                                               $theTypeP = isset($pairParts[1]) ? $pairParts[1] : 0;           // Overruling 'type'
+                                               $conf['additionalParams'].= isset($pairParts[2]) ? $pairParts[2] : '';
                                        }
                                                // Checking if the id-parameter is an alias.
                                        if (!t3lib_div::testInt($link_param))   {