-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
2.2.3
-
OS: Sabayon Linux x86 14.05
PHP version: 5.4.26-pl0-gentoo
not correct function calcMaxLengthAfterDot. Example:
~ php -a
Interactive shell
php > include "include/graphs.inc.php";
php > echo calcMaxLengthAfterDot(array("215 G")) . "\n";
1
php > echo calcMaxLengthAfterDot(array("46 G","46.5 G")) . "\n";
0
php > quit
In the first case the value should be 0, in the second case - 1.