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.
sites/all/modules/filefield/filefield_widget.inc on line 483
Issue is this http://stackoverflow.com/questions/8610636/is-this-a-php-bug
This works
if (isset($item['data']) && is_array($item['data']) && isset($item['data']['description'])) {
unset($item['data']['description']);
}
This does not
if (isset($item['data']['description'])) {
unset($item['data']['description']);
}
Comment | File | Size | Author |
---|---|---|---|
#1 | filefield-141584-1-fix-string-offsets.patch | 527 bytes | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedComment #2
quicksketchThanks, seems safe enough for me. Committed.