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.
if (!empty($instance['settings']['min'])) {
will be false for a field that has 0 set as the minimum value.
Comment | File | Size | Author |
---|---|---|---|
#1 | html5_tools-1402934-01.patch | 462 bytes | jhedstrom |
Comments
Comment #1
jhedstromThis patch seems to work, but I've only tested with integer fields.
Comment #2
ericduran CreditAttribution: ericduran commentedMakes sense. Thanks.
This is now fixed.
Also proper commit credit attributed :-)
--
http://drupalcode.org/project/html5_tools.git/commit/c068716