Merge pull request #987 from openclassify/vedat

fixed currency_format default currency
This commit is contained in:
Ozcan Durak 2021-03-11 11:54:42 +03:00 committed by GitHub
commit 153034b312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,