getLocalThumbnailPath() can throw an error when a provider doesn't support thumbnail_url and isn't a photo.
It should use !empty() instead of isset() when checking $url because getOriginalThumbnailPath() returns FALSE to indicate that a path to the original thumbnail isn't available.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix-thumbnail-url-checking-2476085-1.patch | 557 bytes | devin carlson |
Comments
Comment #1
devin carlson commentedA patch to make the change.
Comment #2
devin carlson commentedTested #1 and committed to Media: oEmbed 7.x-2.x.