1
0
Fork 0
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:
Yassine Guedidi 2025-04-05 13:14:32 +02:00
parent 745fef44f4
commit 241cddc899
6 changed files with 7 additions and 11 deletions

View file

@ -77,8 +77,8 @@ class ExportController extends AbstractController
$title = 'Tag ' . $tag->getLabel();
} elseif ('search' === $category) {
$searchTerm = (isset($request->query->all('search_entry')['term']) ? $request->query->all('search_entry')['term'] : '');
$currentRoute = (null !== $request->query->get('currentRoute') ? $request->query->get('currentRoute') : '');
$searchTerm = $request->query->all('search_entry')['term'] ?? '';
$currentRoute = $request->query->get('currentRoute') ?? '';
$entries = $entryRepository->getBuilderForSearchByUser(
$this->getUser()->getId(),