Changeset 1639 in products for quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/validate_report_abuse.vpy
- Timestamp:
- Feb 4, 2010 2:03:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/validate_report_abuse.vpy
r1628 r1639 31 31 32 32 if require_email: 33 if not (email and context.portal_registration.isValidEmail(email)):33 if not email: 34 34 state.setError('email', _(u'Please submit an email address.'), 'email_required') 35 elif not context.portal_registration.isValidEmail(email): 36 state.setError('email', _(u'Please submit a valid e-mail address.'), 'email_required') 35 37 36 38 if hasattr(context, 'captcha_validator'):
Note: See TracChangeset
for help on using the changeset viewer.