fixed currency_format default currency

This commit is contained in:
vedatakd 2021-03-10 16:37:35 +03:00
parent a4f58f0a8d
commit 2e07a12e6f

View File

@ -5,7 +5,7 @@ class Currency
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(
$options,