[TYPO3-core] Bug: TS-Condition with GET Var not possible if there are POST Vars

Sascha Egerer seg at softvision.de
Wed Nov 19 15:00:08 CET 2008


Ah ok! Thx. I've never seen this version before.
But I still find it confusing that "GP" only checks POST Vars if there are 
any...

vg Sascha

"Steffen Kamper" <info at sk-typo3.de> schrieb im Newsbeitrag 
news:mailman.1.1227101976.21326.typo3-team-core at lists.netfielders.de...
> Hi,
>
> Sascha Egerer schrieb:
>> Problem:
>> There is a problem with globalVar GP Condition in TypoScript. If there 
>> are POST Vars the GET Vars can not be checked because t3lib_div::_GP is 
>> used. t3lib_div::_GP does only use POST Vars if there are any.
>> So something like
>> [globalVar = GP:tx_commerce_pi1|showUid > 0]
>> will fail if there are are POST Vars for tx_commerce_pi1
>>
>
> you can ask for GET only:
>
> [globalVar = _GET|tx_commerce_pi1|showUid > 0]
>
> vg Steffen 




More information about the TYPO3-team-core mailing list