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.
When i edit my "large" media_gallery gallery i got the following error message
Notice: Undefined index: form_id in multiform_get_form() (regel 50 van ......
Yes it's translated to Dutch, but i think you get the message.
In my opinion it's always good to check an array index before you check it's value. So here's my patch that does exactly that.. I haven't got the time to check the complete function..
Comment | File | Size | Author |
---|---|---|---|
#2 | multiform-1979168-2.patch | 615 bytes | tobiasb |
#1 | multiform-extra_check_on_array_index-1979168-1.patch | 900 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedand here's the patch
Comment #2
tobiasbI could not apply the patch therefore I created a new one.
Comment #3
noslokire CreditAttribution: noslokire commented#2 Worked for us.
Comment #5
kalman.hosszu CreditAttribution: kalman.hosszu commentedThanks for the work, it's fixed in 7.x-1.1.