Commit c48b70fb authored by Till Brehm's avatar Till Brehm

Fixed a currency formatting problem in tform and listform library.

parent a7c4cb62
......@@ -583,7 +583,7 @@ class listform {
break;
case 'CURRENCY':
$record[$key] = str_replace(',', '.', $record[$key]);
$record[$key] = $app->functions->currency_unformat($record[$key]);
break;
case 'BOOLEAN':
......
......@@ -808,7 +808,7 @@ class tform_base {
$new_record[$key] = $record[$key];
break;
case 'CURRENCY':
$new_record[$key] = str_replace(",", ".", $record[$key]);
$new_record[$key] = $app->functions->currency_unformat($record[$key]);
break;
case 'DATETIME':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment