Project

General

Profile

Bug #22724 » 14488_reverted7592.diff

Administrator Admin, 2010-05-29 11:38

View differences:

t3lib/class.t3lib_div.php (working copy)
$reg = array();
preg_match_all('/'.$regex.'/',$string,$reg);
reset($reg[2]);
$number=0;
$Msign='+';
$err='';
$buffer=doubleval(current($reg[2]));
next($reg[2]); // Advance pointer
foreach ($reg[2] as $k => $v) {
while(list($k,$v)=each($reg[2])) {
$v=doubleval($v);
$sign = $reg[1][$k];
if ($sign=='+' || $sign=='-') {
(2-2/2)