Reply To: price needs to be normalized when creating itemized invoice

#876
joncas
Participant

Hello,

It may depend on the localization settings? This site is set to British English, so numbers display with a comma as thousands separator (see enclosed screenshot), and apparently this is passed on in the POST arguments because the sql error was complaining that this was being used in the insert command.
In your code the “edit” function already did use SiLocal::dbStd to filter that out, so it would seem logical that the insert should, too, no?

Enclosed also the phpinfo: this is a dedicated Linux server running Ubuntu 18.04

Attachments:
You must be logged in to view attached files.