Created on 29 October 2015, over 9 years ago
Updated 25 January 2025, 5 days ago

I just did a quick pass through the .module file and cleaned the code a bit.

  • reformat code according to drupal code style
  • changed and added some comments
  • array_unshift instead of array_merge in the hook_element_info_alter
  • fixed a little bug: not required elements with value 0 shouldn't be treated as 'empty'
  • changed form_set_error to form_error

todo:

  • add comments to rule/filter callbacks instead of a single one above the whole block
  • perhaps use filter_var instead of custom checks/regexes/etc
πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands spadxiii

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024