mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Modernize to PHP 7.0
This commit is contained in:
parent
745fef44f4
commit
241cddc899
6 changed files with 7 additions and 11 deletions
|
@ -626,7 +626,7 @@ class EntryController extends AbstractController
|
|||
private function showEntries($type, Request $request, $page)
|
||||
{
|
||||
$searchTerm = (isset($request->query->all('search_entry')['term']) ? trim($request->query->all('search_entry')['term']) : '');
|
||||
$currentRoute = (null !== $request->query->get('currentRoute') ? $request->query->get('currentRoute') : '');
|
||||
$currentRoute = $request->query->get('currentRoute') ?? '';
|
||||
$currentEntryId = $request->attributes->getInt('id');
|
||||
|
||||
$formOptions = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue