diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-04-29 12:24:27 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-01 09:26:12 +0200 |
commit | 719ba257d3d6495eaa0f4ea749b5aa4740f94dda (patch) | |
tree | c09ec7d1034ca7b53dfc95f381de4255b38335e9 /src | |
parent | a7abcc7b7a5e3417eff70e2a5993558f83fc5d5a (diff) | |
download | wallabag-719ba257d3d6495eaa0f4ea749b5aa4740f94dda.tar.gz wallabag-719ba257d3d6495eaa0f4ea749b5aa4740f94dda.tar.zst wallabag-719ba257d3d6495eaa0f4ea749b5aa4740f94dda.zip |
Fix tests
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/EntryRestController.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index 0c98c242..ae6f0e3f 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -239,7 +239,6 @@ class EntryRestController extends WallabagRestController | |||
239 | 239 | ||
240 | // handle multiple urls | 240 | // handle multiple urls |
241 | if (!empty($urls)) { | 241 | if (!empty($urls)) { |
242 | $results = []; | ||
243 | foreach ($urls as $key => $url) { | 242 | foreach ($urls as $key => $url) { |
244 | $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId( | 243 | $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId( |
245 | $url, | 244 | $url, |