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.
_webform_validation_flatten_array() checks if the input is an array before doing anything, so there is no point running is_array() to decide whether or not to call _webform_validation_flatten_array().
Comments
Comment #1
Liam Morlandhttp://drupalcode.org/project/webform_validation.git/commitdiff/02df79c
http://drupalcode.org/project/webform_validation.git/commitdiff/9a4103e
http://drupalcode.org/project/webform_validation.git/commitdiff/b583576
http://drupalcode.org/project/webform_validation.git/commitdiff/e723d80