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.
A "Fatal Error" JS popup occurs when uploading a file.
Spoke with chx in #drupal -- was an incorrect function call on line 545.
$form = _form_builder('upload_js', $form);
should be:
$form = form_builder('upload_js', $form);
Fixed it for me. Patch attached.
(My first actual .patch, yay! Set up TurtoiseCVS...)
--D
Comment | File | Size | Author |
---|---|---|---|
upload.module_32.patch | 664 bytes | DaveNotik | |
Comments
Comment #1
tangent CreditAttribution: tangent commentedThis works for me.
Comment #2
drewish CreditAttribution: drewish commented+1, works for me
Comment #3
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #4
(not verified) CreditAttribution: commented