mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 03:08:11 +00:00
Small fixes for laravel 5.4
This commit is contained in:
@@ -83,12 +83,9 @@ class Controller extends BaseController
|
||||
protected function getPreviousUri(string $identifier): string
|
||||
{
|
||||
$uri = strval(session($identifier));
|
||||
// 1 (see above):
|
||||
if (!(strpos($identifier, 'delete') === false) && !(strpos($uri, '/show/') === false)) {
|
||||
$uri = route('index');
|
||||
}
|
||||
|
||||
// 2 (see above)
|
||||
if (!(strpos($uri, 'javascript') === false)) {
|
||||
$uri = route('index');
|
||||
}
|
||||
|
Reference in New Issue
Block a user