diff options
author | Sébastien Viande <sviande@gmail.com> | 2017-10-12 07:28:42 +0200 |
---|---|---|
committer | Sébastien Viande <sviande@satisfactory.fr> | 2017-10-13 10:28:05 +0200 |
commit | 0978bd849e77b1157b21f8e231965521e535bacd (patch) | |
tree | fc02021f9f503077243446ea79b728b860993faa /src/Wallabag/ApiBundle/Controller/EntryRestController.php | |
parent | bb86dc648660cf3d94c6800f97214426b52f2d8e (diff) | |
download | wallabag-0978bd849e77b1157b21f8e231965521e535bacd.tar.gz wallabag-0978bd849e77b1157b21f8e231965521e535bacd.tar.zst wallabag-0978bd849e77b1157b21f8e231965521e535bacd.zip |
Fix #3361 Entry Rest controller getEntries cast tags params to string
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/EntryRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/EntryRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index 86e72335..6f161a08 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -102,7 +102,7 @@ class EntryRestController extends WallabagRestController | |||
102 | $order = $request->query->get('order', 'desc'); | 102 | $order = $request->query->get('order', 'desc'); |
103 | $page = (int) $request->query->get('page', 1); | 103 | $page = (int) $request->query->get('page', 1); |
104 | $perPage = (int) $request->query->get('perPage', 30); | 104 | $perPage = (int) $request->query->get('perPage', 30); |
105 | $tags = $request->query->get('tags', ''); | 105 | $tags = is_array($request->query->get('tags')) ? '' : (string) $request->query->get('tags', ''); |
106 | $since = $request->query->get('since', 0); | 106 | $since = $request->query->get('since', 0); |
107 | 107 | ||
108 | /** @var \Pagerfanta\Pagerfanta $pager */ | 108 | /** @var \Pagerfanta\Pagerfanta $pager */ |