if (!empty($instance['settings']['min'])) {

will be false for a field that has 0 set as the minimum value.

CommentFileSizeAuthor
#1 html5_tools-1402934-01.patch462 bytesjhedstrom
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom’s picture

Status: Active » Needs review
FileSize
462 bytes

This patch seems to work, but I've only tested with integer fields.

ericduran’s picture

Status: Needs review » Fixed

Makes sense. Thanks.

This is now fixed.

Also proper commit credit attributed :-)

--
http://drupalcode.org/project/html5_tools.git/commit/c068716

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.