Browse Source

bugfix: field name for privacy place details was wrong.

Jocelyn Delande 10 years ago
parent
commit
2515c78233
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend.py

+ 1 - 1
backend.py

@@ -149,7 +149,7 @@ def submit_wifi_form():
                 'comment'              : d.get('comment'),
                 'comment'              : d.get('comment'),
                 'privacy_name'         : 'name' in d.getall('privacy'),
                 'privacy_name'         : 'name' in d.getall('privacy'),
                 'privacy_email'        : 'email' 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_coordinates'  : 'coordinates' in d.getall('privacy'),
                 'privacy_comment'      : 'comment' in d.getall('privacy'),
                 'privacy_comment'      : 'comment' in d.getall('privacy'),
         })
         })