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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gstudio/views/topicadd.py b/gstudio/views/topicadd.py
index ba094c5..31e780e 100644
--- a/gstudio/views/topicadd.py
+++ b/gstudio/views/topicadd.py
@@ -32,8 +32,8 @@ def topicadd(request):
if not request.POST.get('message', ''):
errors.append('Enter a message.')
if not errors:
- title=request.POST['subject']
- content=request.POST['message']
+ title=unicode(request.POST['subject'])
+ content=unicode(request.POST['message'])
idusr=request.POST['idusr']
boolean = make_topic_object(title,int(idusr),content)
if boolean :