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.
Image->getField() throws error if the field 'file' does not exist. I think it should return FALSE.
Comment | File | Size | Author |
---|---|---|---|
#2 | image_getfield-2922078-2.patch | 2.93 KB | edurenye |
|
Comments
Comment #2
edurenye CreditAttribution: edurenye at ENDPHASYS Technologies commentedComment #3
AlexanderDolgov CreditAttribution: AlexanderDolgov as a volunteer and at ADCI Solutions commentedGot the same problem, patch is working perfectly, thanks!