aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index 25788c42..297cae28 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -273,7 +273,7 @@ def get_middle_panel():
filters['like'] = True
filter_type = request.args.get('filter_type')
if filter_type in {'feed', 'category'} and request.args.get('filter_id'):
- filters[filter_type + '_id'] = int(request.args['filter_id'])
+ filters[filter_type + '_id'] = int(request.args['filter_id']) or None
fd_hash = {feed.id: {'title': feed.title,
'icon_url': url_for('icon.icon', url=feed.icon_url)
bgstack15