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.
For some reason I've noticed that media_brightcove_emfield_providers() throws warnings on all calls when $provider is not 'brightcove'.
Comment | File | Size | Author |
---|---|---|---|
#1 | media_brightcove-n711586.patch | 1.21 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaHere's a patch that adjusts the function slightly:
Comment #2
DamienMcKennaFYI this is related to #222074: PHP bug/feature in array_merge_recursive() causes warning messages.
Comment #3
aaron CreditAttribution: aaron commentedfixed. thanks, @damien!
Comment #4
aaron CreditAttribution: aaron commentedoops, forgot to check for the null case... fixed that too.