app/soc/views/models/group.py
changeset 1990 fea8bdb43992
parent 1963 81a5926b6109
child 2076 1cd180cc56c9
--- a/app/soc/views/models/group.py	Sun Mar 22 22:06:54 2009 +0000
+++ b/app/soc/views/models/group.py	Sun Mar 22 22:15:46 2009 +0000
@@ -91,7 +91,7 @@
     new_params['list_heading'] = 'soc/group/list/heading.html'
 
     new_params['create_extra_dynaproperties'] = {
-       'clean_phone': cleaning.clean_numeric_only('phone'),
+       'clean_phone': cleaning.clean_phone_number('phone'),
        'clean_contact_street': cleaning.clean_ascii_only('contact_street'),
        'clean_contact_city': cleaning.clean_ascii_only('contact_city'),
        'clean_contact_state': cleaning.clean_ascii_only('contact_state'),