Skip to content

Commit 9138831

Browse files
committed
- Fixed a problem with form type currency.
- Added a missing language string for the website form.
1 parent 9ac2fa3 commit 9138831

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

interface/lib/classes/tform.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function decode($record,$tab) {
191191
break;
192192

193193
case 'CURRENCY':
194-
$new_record[$key] = number_format($record[$key], 2, ',', '');
194+
$new_record[$key] = number_format((double)$record[$key], 2, ',', '');
195195
break;
196196

197197
default:

interface/web/sites/lib/lang/en_web_domain.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ $wb["ssl_organistaion_unit_error_regex"] = 'Invalid SSL Organisation Unit. Valid
5656
$wb["ssl_country_error_regex"] = 'Invalid SSL Country. Valid characters are: A-Z';
5757
$wb["limit_traffic_quota_free_txt"] = 'Max. available Traffic Quota';
5858
$wb["redirect_error_regex"] = 'Invalid redirect path. Valid redirects are for example: /test/ or http://www.domain.tld/test/';
59+
$wb["php_open_basedir_txt"] = 'PHP open_basedir';
5960
?>

0 commit comments

Comments
 (0)