Download & Extend

Price decimal places - number_format() expects parameter 2 to be long, string given

Project:e-Commerce
Version:6.x-4.2
Component:ec_store
Category:bug report
Priority:minor
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

The input field for configuring the "Number of places after the decimal separator" needs to be a number.

Leaving the input field empty (instead of zero) on the settings page causes a php error message later, when the field is displayed.

The field should either get zero as value in this case, or throw an error message on the settings page.

Comments

#1

Could you try this on the latest dev version? I could not reproduce the error.

Thanks,
Dave

#2

Status:active» postponed (maintainer needs more info)
nobody click here