Active
Project:
E-Publish
Version:
6.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Sep 2011 at 15:11 UTC
Updated:
12 Sep 2011 at 15:11 UTC
I was getting numerous error messages in the log like:
notice: Trying to get property of non-object in epublish_nodeapi() (line 476 of /var/www/multimedia/sefueronlejos/Drupal/sites/all/modules/epublish/epublish.module).
This happens when the node doesn't have content in the an epublish_abstract field. Adding line 476:
if (!$object) {$object->epublish_abstract='';}
eliminates the errors.
Attached patch should correct.
| Comment | File | Size | Author |
|---|---|---|---|
| commit-58336d7.patch | 803 bytes | leonardwestermeyer |