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.
The views_element_validate_integer() function validates the element and display an error message '%name must be a positive integer.' but it doesn't validate that the value is positive.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2010498-1.patch | 599 bytes | kalman.hosszu |
Comments
Comment #1
kalman.hosszu CreditAttribution: kalman.hosszu commentedThe patch is attached.
Comment #2
dawehnerGood catch! Committed and pushed to 7.x-3.x
Comment #3
dawehnerThat's already fixed properly in Drupal 8 using #min and #type number.