summaryrefslogtreecommitdiff
path: root/gstudio/views/topicadd.py
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/views/topicadd.py')
-rw-r--r--gstudio/views/topicadd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gstudio/views/topicadd.py b/gstudio/views/topicadd.py
index 31e780e..044a374 100644
--- a/gstudio/views/topicadd.py
+++ b/gstudio/views/topicadd.py
@@ -32,7 +32,7 @@ def topicadd(request):
if not request.POST.get('message', ''):
errors.append('Enter a message.')
if not errors:
- title=unicode(request.POST['subject'])
+ title=request.POST['subject']
content=unicode(request.POST['message'])
idusr=request.POST['idusr']
boolean = make_topic_object(title,int(idusr),content)