Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Users can submit location form even if the require fields (which has been set as 'require' by admin) are empty.
The bug takes place in the 'location_nodeapi' function, case 'validate', where $field_names array is not parsed correctly.
see the patch attached (works on CVS location.module 1.43 and 1.42 (for drupal 4.6 users))
Damien
Comment | File | Size | Author |
---|---|---|---|
location.module.patch | 805 bytes | pitpit | |
Comments
Comment #1
pitpit CreditAttribution: pitpit commentedComment #2
moshe weitzman CreditAttribution: moshe weitzman commentedrequired fields and form validation are different now with form api