[TYPO3-core] FYI: Fixed bug #7976: prioriCalc does not work correctly

Oliver Hader oliver at typo3.org
Mon Mar 31 20:28:06 CEST 2008


Sorry, wrong subject.
This is not a RFC - the changes were committed, so "FYI"

Oliver Hader schrieb:
> 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


More information about the TYPO3-team-core mailing list