aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-18 14:58:50 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-21 11:44:36 +0200
commitebf2d9232798111ea4762f1d8b1cc05533238eb2 (patch)
tree83fda604938f2b83d1005fd4640f70435ca0fdd5 /src/Wallabag
parent8c59809432928781b8ba3d43bc300cca6860771f (diff)
downloadwallabag-ebf2d9232798111ea4762f1d8b1cc05533238eb2.tar.gz
wallabag-ebf2d9232798111ea4762f1d8b1cc05533238eb2.tar.zst
wallabag-ebf2d9232798111ea4762f1d8b1cc05533238eb2.zip
Fix typo
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ExportController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ExportController.php b/src/Wallabag/CoreBundle/Controller/ExportController.php
index e61b6d32..fda04cfb 100644
--- a/src/Wallabag/CoreBundle/Controller/ExportController.php
+++ b/src/Wallabag/CoreBundle/Controller/ExportController.php
@@ -56,17 +56,17 @@ class ExportController extends Controller
56 { 56 {
57 $method = ucfirst($category); 57 $method = ucfirst($category);
58 $methodBuilder = 'getBuilderFor'.$method.'ByUser'; 58 $methodBuilder = 'getBuilderFor'.$method.'ByUser';
59 $epository = $this->get('wallabag_core.entry_repository'); 59 $repository = $this->get('wallabag_core.entry_repository');
60 60
61 if ($category == 'tag_entries') { 61 if ($category == 'tag_entries') {
62 $tag = $this->get('wallabag_core.tag_repository')->findOneBySlug($request->query->get('tag')); 62 $tag = $this->get('wallabag_core.tag_repository')->findOneBySlug($request->query->get('tag'));
63 63
64 $entries = $epository->findAllByTagId( 64 $entries = $repository->findAllByTagId(
65 $this->getUser()->getId(), 65 $this->getUser()->getId(),
66 $tag->getId() 66 $tag->getId()
67 ); 67 );
68 } else { 68 } else {
69 $entries = $epository 69 $entries = $repository
70 ->$methodBuilder($this->getUser()->getId()) 70 ->$methodBuilder($this->getUser()->getId())
71 ->getQuery() 71 ->getQuery()
72 ->getResult(); 72 ->getResult();