Hi Nicolas,
I found a bug in the new bid amount parsing patch.
On a new auction with no previous bids, the “Place a Bid” button submits the raw data-amount value from show_auction.php:
data-amount="<?php echo $this->bid_amount;?>"
Example DOM:
data-amount="50000.00000"
But controllers/product.php now parses the submitted value with localized currency format:
$amount = hikaauction::convertNumber($amount, hikaauction::getCurrencyFormat($currency_id));
If the currency decimal separator is not `.`, convertNumber() treats 50000.00000 incorrectly, strips the dot, and converts it to 5000000000, causing “Invalid amount” because it exceeds 999999999.
Manual “Place max bid” works because the user enters a clean localized/manual value, and after that the normal bid button may start working.
Suggested fix: in convertNumber(), detect already-normalized machine numbers before localized parsing:
if(preg_match('/^-?\d+(\.\d+)?$/', $num))
return (float)$num;
This keeps raw values like `50000.00000` valid while preserving localized input support. i guess
thank you.