Commits

Hans van der Weij committed 7ec10dd

Fix issue 61 - htmlspecialchars returns empty string instead of currency symbol and amount

  • Participants
  • Parent commits 61bc77a

Comments (0)

Files changed (1)

File functions/formatFuncs.php

     $prefix = "p";
     $sign = $localeInfo["positive_sign"];
   }
+  // Disabling following line forces currency symbol. Recommended for Admin, Library Settings, HTML Charset: utf-8
   $currencySymbol = $localeInfo["currency_symbol"];
-  if (!$currencySymbol) {
+  if (!H($currencySymbol)) {
     $currencySymbol = '$';
   }
   $dec_point = $localeInfo["mon_decimal_point"];