fixed broken links with ids > 1000 at less with no US locales

e.g. links like "lines.php?action=edit&line_id=1,817" are generated but
result into an error, flourish not being able to retrieve database
record 1817 from "1,817" string, at less in some cases where the server
is running using french locale

this patch make all links look like "lines.php?action=edit&line_id=1817"
whatever the locale is