CRM-650 money_format() not universally available

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      CiviDonate is apparently using money_format(), which is not universally available.

      From http://www.php.net/money_format :

      Note: The function money_format() is only defined if the system has strfmon capabilities. For example, Windows does not, so money_format() is undefined in Windows.

      This also affects FreeBSD 4.x, which is still a popular choice for web hosts.

        Attachments

          Activity

          [CRM-650] money_format() not universally available
          Donald A. Lobo added a comment -

          took the easy way out for now, and invoke the function only if it exists. if it does not exist, we just use the amount as is.

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Allie Micka

              Dates

              • Created:
                Updated:
                Resolved: