mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
Merge pull request #1547 from wallabag/v2-mistakes
v2 – Fix wrong if when deleting an entry
This commit is contained in:
commit
00a051add4
@ -347,7 +347,7 @@ class EntryController extends Controller
|
|||||||
);
|
);
|
||||||
|
|
||||||
// don't redirect user to the deleted entry
|
// don't redirect user to the deleted entry
|
||||||
return $this->redirect($url !== $request->headers->get('referer') ?: $this->generateUrl('homepage'));
|
return $this->redirect($url !== $request->headers->get('referer') ? $request->headers->get('referer') : $this->generateUrl('homepage'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user