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.
Currently a CCK field containing a machine name and of type 'vimeo' will not save correctly, as only the first segment of the field name will be used.
vimeo_browser_process() explodes field name by '_' and then only uses the $field_name[1] (eg 'field_foo_video' submits as 'field_foo'), and no data is stored for the field.
Comments
Comment #1
xurizaemonProbably could be on a single line. explode() is just there to vape /^field_/, right?
Only tested on D6.
EDIT: Meh, D7 patch against wrong branch - ignore that!
Comment #2
xurizaemon7.x patch against 7.x branch :P