Bug #64192
closedTyposcript condition cannot check (GP) arrays with a key that is '0'
100%
Description
Assuming this URL:
http://typo3.local/index.php?id=1&myoption[0]=1
Following condition does not match:
[globalVar = GP:myoption|0 = 1]
This bug appears at least in 6.2 LTS and 7. I'll submit a patch to gerrit in a moment.
Updated by Markus Klein over 9 years ago
Without looking into the code, I'm very certain that this yet another example where "!empty()" was used instead of "!== ''"
Updated by Christian Futterlieb over 9 years ago
You're almos right, t's a "if (trim())" ;-)
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35910
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35910
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35910
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35910
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35950
Updated by Christian Futterlieb over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset bfbd87808877a1cc003662322e3893d4bcafee6c.