[TYPO3-commerce] RFC: #10556: piVars showUid check produces 0

Rik Willems rik at actiview.nl
Mon Nov 1 14:18:54 CET 2010


Hi,

In pi1 on line 99 the piVars[showUid] is checked through intval. This 
will product 0 even if no showUid was given. This messes up RealURL and 
in general isn't good. This patch changes intval() to (int) so if the 
value is not given the variable will be empty.

Please have a look and comment on the patch. Thanks!

http://forge.typo3.org/issues/10557

Cheers! Rik
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
URL: <http://lists.typo3.org/pipermail/typo3-project-commerce/attachments/20101101/19559bf3/attachment.asc>


More information about the TYPO3-project-commerce mailing list