Commit a566fcc6 authored by Martin Mareš's avatar Martin Mareš
Browse files

Do not show "Copy to" when creating a new topic

parent d0922176
......@@ -1257,6 +1257,7 @@ def admin_edit_topic(sident, cident, tid=None, copy_tid=None):
form = EditTopicForm() = 999999; = 'T'
del form.copy_to
db_query('SELECT * FROM owl_topics WHERE cid=%s AND tid=%s', (g.course.cid, tid or copy_tid))
topic = db.fetchone()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment