The _element_validate_integer_positive() function in field.module on line 1229 says-

 * @deprecated
 * @see element_validate_number_positive()

That function doesn't exist to my knowledge. I believe it means element_validate_integer_positive() from form.inc.

Pretty minor, but might throw someone off using D7 looking for that function.

CommentFileSizeAuthor
incorrect_function_name.patch547 bytesAlbert Volkman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Albert Volkman’s picture

Status: Active » Needs review
amontero’s picture

Component: field system » documentation
Status: Needs review » Reviewed & tested by the community

Seems a legitimate bug to me. Patch still applies to HEAD.

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! committed to 7.x.

Status: Fixed » Closed (fixed)

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