[TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike)

Martin Kutschker martin.kutschker-no at spam-blackbox.net
Thu Jun 12 19:14:12 CEST 2008


bernd wilke schrieb:
> on Thu, 12 Jun 2008 17:30:46 +0200, Martin Kutschker wrote:
> 
>> But your description of the use case still requires only one value. The
>> point is that for _GP POST takes precedence, but you want it to be GET.
>> That's all.
> 
> no. the problem is that one occurence of POST:tx_myext_pi1[var1] will 
> destroy all values of GET:tx_myext_pi1[var2], GET:tx_myext_pi1[var3], ... 
> because the 'main' paramter is overwritten instead of merged arrays.

But this is wrong in the condition. You can use a var|key or even 
obj|prooperty syntax to check. So you don't ever have a access to 
tx_myext_pi1[var1], its tx_myext_pi1|var1 (check for GET or POST 
whatever you prefer)

Masi




More information about the TYPO3-dev mailing list