Closed (fixed)
Project:
Picture
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2014 at 16:37 UTC
Updated:
18 Jul 2014 at 14:50 UTC
Jump to comment: Most recent
If a broken image (e.g. file deleted but db entry is still there) is processed this leads to notices like this:
Notice: Trying to get property of non-object in theme_picture() (line 879 of picture.module)..
This due the fact that image_load() returns FALSE for broken images.
Skip processing if image_load() returns FALSE and create a watchdog entry.
Needs review.
none
none
| Comment | File | Size | Author |
|---|---|---|---|
| picture-avoid-notice-because-of-broken-files.patch | 988 bytes | das-peter |
Comments
Comment #1
attiks commented