Parcourir la source

bugfix: field name for privacy place details was wrong.

Jocelyn Delande il y a 10 ans
Parent
commit
2515c78233
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      backend.py

+ 1 - 1
backend.py

@@ -149,7 +149,7 @@ def submit_wifi_form():
                 'comment'              : d.get('comment'),
                 'privacy_name'         : 'name' in d.getall('privacy'),
                 'privacy_email'        : 'email' in d.getall('privacy'),
-                'privacy_place_details': 'details' in d.getall('privacy'),
+                'privacy_place_details': 'place_details' in d.getall('privacy'),
                 'privacy_coordinates'  : 'coordinates' in d.getall('privacy'),
                 'privacy_comment'      : 'comment' in d.getall('privacy'),
         })