mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Fixed an issue with creating and editing transactions.
This commit is contained in:
@@ -78,7 +78,7 @@ class CreateController extends Controller
|
||||
$defaultCurrency = app('amount')->getDefaultCurrency();
|
||||
$previousUri = $this->rememberPreviousUri('transactions.create.uri');
|
||||
$parts = parse_url($previousUri);
|
||||
$previousUri = sprintf('%s://%s/%s', $parts['scheme'], $parts['host'], $parts['path']);
|
||||
$previousUri = sprintf('%s://%s/%s', $parts['scheme'], $parts['host'] ?? '', $parts['path'] ?? '');
|
||||
|
||||
session()->put('preFilled', $preFilled);
|
||||
|
||||
|
Reference in New Issue
Block a user