mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix preference thing.
This commit is contained in:
parent
c3debb1a17
commit
c1107fe854
@ -323,15 +323,15 @@ class Steam
|
|||||||
$balances[$format] = $currentBalance;
|
$balances[$format] = $currentBalance;
|
||||||
|
|
||||||
app('log')->debug(sprintf(
|
app('log')->debug(sprintf(
|
||||||
'%s: transaction in %s(!). Conversion rate is %s. %s %s = %s %s',
|
'%s: transaction in %s(!). Conversion rate is %s. %s %s = %s %s',
|
||||||
$format,
|
$format,
|
||||||
$currency->code,
|
$currency->code,
|
||||||
$rate,
|
$rate,
|
||||||
$currency->code,
|
$currency->code,
|
||||||
$transaction['amount'],
|
$transaction['amount'],
|
||||||
$native->code,
|
$native->code,
|
||||||
$convertedAmount
|
$convertedAmount
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -782,7 +782,7 @@ class Steam
|
|||||||
if (!is_string($preference)) {
|
if (!is_string($preference)) {
|
||||||
throw new FireflyException(sprintf('Preference "language" must be a string, but is unexpectedly a "%s".', gettype($preference)));
|
throw new FireflyException(sprintf('Preference "language" must be a string, but is unexpectedly a "%s".', gettype($preference)));
|
||||||
}
|
}
|
||||||
return $preference;
|
return str_replace('-', '_', $preference);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user