I had hundreds of PHP notices when running update.php
* notice: Trying to get property of non-object in /[...]/sites/all/modules/imagefield/imagefield.install on line 220.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | imagefield_file_delete_check.patch | 655 bytes | quicksketch |
Comments
Comment #1
quicksketchThe update function wasn't checking that the $file record actually existed before trying to check $file->filepath. It shouldn't have any negative effect. I've committed the attached patch.