mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
Merge pull request #987 from openclassify/vedat
fixed currency_format default currency
This commit is contained in:
commit
153034b312
@ -5,7 +5,7 @@ class Currency
|
|||||||
|
|
||||||
public function format($number, $currency = null, array $options = [])
|
public function format($number, $currency = null, array $options = [])
|
||||||
{
|
{
|
||||||
$currency = strtoupper($currency ?: config('streams::currencies.default'));
|
$currency = strtoupper($currency ?: setting_value('streams::currency'));
|
||||||
|
|
||||||
$direction = array_get(
|
$direction = array_get(
|
||||||
$options,
|
$options,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user