Fixed feature request 4790: typolink.addQueryString - enable usage of merged POST...
authorOliver Hader <oliver.hader@typo3.org>
Wed, 24 Jan 2007 12:54:21 +0000 (12:54 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 24 Jan 2007 12:54:21 +0000 (12:54 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1932 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 65283e2..c3f19cc 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-01-24  Oliver Hader  <oh@inpublica.de>
 
        * Fixed bug 4820: IRRE - Wrong character encoding in AJAX response
+       * Fixed feature request 4790: typolink.addQueryString - enable usage of merged POST and GET data
 
 2007-01-23  Ingmar Schlecht  <ingmar@typo3.org>
 
index 2570f78..f0cf48f 100755 (executable)
@@ -5520,6 +5520,12 @@ class tslib_cObj {
                        case 'POST':
                                $q_in = t3lib_div::_POST();
                        break;
+                       case 'GET,POST':
+                               $q_in = array_merge(t3lib_div::_GET(), t3lib_div::_POST());
+                       break;
+                       case 'POST,GET':
+                               $q_in = array_merge(t3lib_div::_POST(), t3lib_div::_GET());
+                       break;
                        default:
                                        // shortcut (no further processing necessary)
                                if (!$conf['exclude'])  return '&'.t3lib_div::getIndpEnv('QUERY_STRING');