Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #
James Colef174f124efc6
diff --git a/app/Support/Twig/AmountFormat.php b/app/Support/Twig/AmountFormat.phpindex a88836cbb4..85ed4d5d28 100644--- a/app/Support/Twig/AmountFormat.php+++ b/app/Support/Twig/AmountFormat.php@@ -117,7 +117,7 @@ class AmountFormat extends AbstractExtensionstatic function (string $amount, ?string $symbol, ?int $decimalPlaces = null, ?bool $coloured = null): string {if(null === $symbol) {- $message = sprintf('formatAmountBySymbol("%s", "%s", %d, %s) was called without a symbol. Please browse to /flush to clear your cache.', $amount,$symbol, $decimalPlaces, var_export($coloured, true));+ $message = sprintf('formatAmountBySymbol("%s", %s, %d, %s) was called without a symbol. Please browse to /flush to clear your cache.', $amount,var_export($symbol, true), $decimalPlaces, var_export($coloured, true));Log::error($message);throw new FireflyException($message);}diff --git a/resources/views/errors/FireflyException.blade.php b/resources/views/errors/FireflyException.blade.phpindex 5dfc2be6c8..1db0b2d0ad 100644--- a/resources/views/errors/FireflyException.blade.php+++ b/resources/views/errors/FireflyException.blade.php@@ -49,6 +49,19 @@<p>{!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}</p>+ <h4>+ {{ trans('errors.github_help') }}+ </h4>+ <p>+ {!! trans('errors.github_instructions') !!}+ </p>+ <ol>+ <li>{{ trans('errors.use_search') }}</li>+ <li>{!! trans('errors.include_info', ['link' => route('debug') ]) !!}</li>+ <li>{{ trans('errors.tell_more') }}</li>+ <li>{{ trans('errors.include_logs') }}</li>+ <li>{{ trans('errors.what_did_you_do') }}</li>+ </ol><h4>{{ trans('errors.stacktrace') }}</h4>