Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I hit a situation where $input['fid']
wasn't valid. An edge case, no doubt, but we can trivially prevent this function throwing PHP errors by checking the return value of the file_load($input['fid'])
.
Comment | File | Size | Author |
---|---|---|---|
#1 | imagefield_crop-file_load_test-1973388.patch | 492 bytes | jweowu |
Comments
Comment #1
jweowu CreditAttribution: jweowu commented