fix budget figure format
[disclosr.git] / getAgency.php
blob:a/getAgency.php -> blob:b/getAgency.php
--- a/getAgency.php
+++ b/getAgency.php
@@ -178,7 +178,7 @@
             echo '<div><i class="icon-shopping-cart" style="float:left"></i><p style="margin-left:16px;">';
             $keys = array_keys($row['statistics']['budget']);
             $lastkey = $keys[count($keys)-1];
-            echo money_format("%#10i",(float)$row['statistics']['budget'][$lastkey]['value']).' <small>('.$lastkey.' budget)</small>';
+            echo "$".number_format(floatval($row['statistics']['budget'][$lastkey]['value'])).' <small>('.$lastkey.' budget)</small>';
             echo '</div>';
         }
     echo '  </ul>