not correct calcMaxLengthAfterDot

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 2.2.3
    • Component/s: Frontend (F)
    • Environment:
      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.

            Assignee:
            Unassigned
            Reporter:
            Maks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: