the name of the last parameter in text_field_widget_form() should be $element, not $base

http://api.drupal.org/api/function/hook_field_widget_form/7
http://api.drupal.org/api/function/text_field_widget_form/7

CommentFileSizeAuthor
#1 717576-widget-form-param.patch1.45 KBmr.baileys
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.baileys’s picture

Priority: Normal » Minor
Status: Active » Needs review
FileSize
1.45 KB

Makes sense, patch attached.

Pasqualle’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Good catch. Committed to CVS HEAD.

Status: Fixed » Closed (fixed)

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