mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Update various code for sqlite compatibility.
This commit is contained in:
@@ -46,6 +46,7 @@ class BudgetLimitObserver
|
||||
private function updateNativeAmount(BudgetLimit $budgetLimit): void
|
||||
{
|
||||
if (!Amount::convertToNative($budgetLimit->budget->user)) {
|
||||
Log::debug('Do not update native amount of the budget limit.');
|
||||
return;
|
||||
}
|
||||
$userCurrency = app('amount')->getDefaultCurrencyByUserGroup($budgetLimit->budget->user->userGroup);
|
||||
|
||||
Reference in New Issue
Block a user