mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-11 17:35: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);
|
$method = ucfirst($category);
|
||||||
$methodBuilder = 'getBuilderFor'.$method.'ByUser';
|
$methodBuilder = 'getBuilderFor'.$method.'ByUser';
|
||||||
$epository = $this->get('wallabag_core.entry_repository');
|
$repository = $this->get('wallabag_core.entry_repository');
|
||||||
|
|
||||||
if ($category == 'tag_entries') {
|
if ($category == 'tag_entries') {
|
||||||
$tag = $this->get('wallabag_core.tag_repository')->findOneBySlug($request->query->get('tag'));
|
$tag = $this->get('wallabag_core.tag_repository')->findOneBySlug($request->query->get('tag'));
|
||||||
|
|
||||||
$entries = $epository->findAllByTagId(
|
$entries = $repository->findAllByTagId(
|
||||||
$this->getUser()->getId(),
|
$this->getUser()->getId(),
|
||||||
$tag->getId()
|
$tag->getId()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$entries = $epository
|
$entries = $repository
|
||||||
->$methodBuilder($this->getUser()->getId())
|
->$methodBuilder($this->getUser()->getId())
|
||||||
->getQuery()
|
->getQuery()
|
||||||
->getResult();
|
->getResult();
|
||||||
|
|
Loading…
Reference in a new issue