Skip to content
Snippets Groups Projects
Commit e2b6b846 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

'1' is also valid in the forms

parent 7e733a19
No related branches found
No related tags found
No related merge requests found
......@@ -441,7 +441,7 @@ class Connection:
for tag in tags:
data = tag.getData()
if ctype == 'boolean':
if data in ['yes', 'true', 'assent']:
if data in ['yes', 'true', 'assent', '1']:
data = True
else:
data = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment