summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-02-28 14:20:33 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-02-28 14:20:33 -0500
commiteb0b4b964e87c62541812235b8527a258b816158 (patch)
tree0a828e1b9d33040995f504e4c6b5aec00e7eb5fc
parent04dd70280f2a9bcca38a52717031a2f35aa39910 (diff)
downloadaskbot-eb0b4b964e87c62541812235b8527a258b816158.tar.gz
askbot-eb0b4b964e87c62541812235b8527a258b816158.tar.bz2
askbot-eb0b4b964e87c62541812235b8527a258b816158.zip
fixed a small glitch with the tag subscription function
-rw-r--r--askbot/views/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/views/commands.py b/askbot/views/commands.py
index 571f97d1..fb638e63 100644
--- a/askbot/views/commands.py
+++ b/askbot/views/commands.py
@@ -378,7 +378,7 @@ def get_tags_by_wildcard(request):
def subscribe_for_tags(request):
"""process subscription of users by tags"""
- tag_names = request.REQUEST['tags'].strip().split()
+ tag_names = request.REQUEST.get('tags','').strip().split()
pure_tag_names, wildcards = forms.clean_marked_tagnames(tag_names)
if request.user.is_authenticated():
if request.method == 'POST':