mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-11 09:25:25 +00:00
Fix typo
This commit is contained in:
parent
8c59809432
commit
ebf2d92327
1 changed files with 3 additions and 3 deletions
|
@ -56,17 +56,17 @@ class ExportController extends Controller
|
|||
{
|
||||
$method = ucfirst($category);
|
||||
$methodBuilder = 'getBuilderFor'.$method.'ByUser';
|
||||
$epository = $this->get('wallabag_core.entry_repository');
|
||||
$repository = $this->get('wallabag_core.entry_repository');
|
||||
|
||||
if ($category == 'tag_entries') {
|
||||
$tag = $this->get('wallabag_core.tag_repository')->findOneBySlug($request->query->get('tag'));
|
||||
|
||||
$entries = $epository->findAllByTagId(
|
||||
$entries = $repository->findAllByTagId(
|
||||
$this->getUser()->getId(),
|
||||
$tag->getId()
|
||||
);
|
||||
} else {
|
||||
$entries = $epository
|
||||
$entries = $repository
|
||||
->$methodBuilder($this->getUser()->getId())
|
||||
->getQuery()
|
||||
->getResult();
|
||||
|
|
Loading…
Reference in a new issue