PHP upgrade caused problems with number_format
Message: E_WARNING Caught: number_format() expects parameter 1 to be
double, string given in /srv/www/vhosts/class.inc on line 2383
replaced
"$" . number_format($_wo["expense_total",2);
with good ol'
sprintf("$%01.2f", $_wo["expense_total"]);
Message: E_WARNING Caught: number_format() expects parameter 1 to be
double, string given in /srv/www/vhosts/class.inc on line 2383
replaced
"$" . number_format($_wo["expense_total",2);
with good ol'
sprintf("$%01.2f", $_wo["expense_total"]);
No comments:
Post a Comment