[TYPO3-core] RFC: Bug #7976: prioriCalc does not work correctly
Oliver Hader
oliver at typo3.org
Mon Mar 31 20:02:50 CEST 2008
The following changes were committed to SVN TYPO3_4-2 (rev. 3492)
Problem:
The prioriCalc mechanism, e.g. for "1*25" returned 26 instead of 25.
Solution:
In SVN rev. 3216 there were some changes to the current/next/while part
of the prioriCals mechanism. Since one array item was removed with
array_shift(), the next number got the wrong mathematical operator (the
one of the removed number).
Comments:
This patch reverts the changes of SVN rev. 3216 in the function
t3lib_div::calcPriority().
References:
http://bugs.typo3.org/view.php?id=7976
http://code.typo3.org/v4/changeset/3216
Branch: Trunk
olly
--
Oliver Hader
TYPO3 Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007976.patch
Type: text/x-patch
Size: 1022 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080331/c1194381/attachment-0001.bin
More information about the TYPO3-team-core
mailing list