Project

General

Profile

Bug #19222 » patch_20100602_1.diff

Administrator Admin, 2010-06-02 12:06

View differences:

typo3_src-4.4.0beta3/t3lib/class.t3lib_tcemain_ORIGINAL.php 2010-06-02 11:54:20.000000000 +0200
}
break;
case 'double2':
case 'double3':
case 'double4':
case 'double5':
case 'double6':
case 'double7':
case 'double8':
case 'double9':
$value = preg_replace('/[^0-9,\.-]/', '', $value);
$negative = substr($value, 0, 1) == '-';
$value = strtr($value, array(',' => '.', '-' => ''));
......
if ($negative) {
$value *= -1;
}
$digts = intval($func{6});
$value = number_format($value, $digts, '.', '');
$value = number_format($value, 2, '.', '');
break;
case 'md5':
if (strlen($value)!=32){$set=false;}
(1-1/3)