Posted by sign on January 28, 2010 at 5:24pm
3 followers
Jump to:
| Project: | Revision Moderation |
| Version: | 6.x-1.0-alpha2 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
* notice: Undefined property: stdClass::$nid in /sites/all/modules/revision_moderation/revision_moderation.module on line 194.
* notice: Undefined property: stdClass::$nid in /sites/all/modules/revision_moderation/revision_moderation.module on line 234.| Attachment | Size |
|---|---|
| revision_moderation_undefined_property.patch | 1.24 KB |
Comments
#1
I've a stdClass Notice: Looking into it :-(
Notice: Undefined property: stdClass::$nid in icl_content_nodeapi() (line 1000 of D:\xampp\htdocs\drupal78\sites\all\modules\translation_management\icl_content\icl_content.module).
#2
replace line 1000
else if ($op == 'prepare' && ! isset ( $node->icanlocalize ) $node->nid ) {by
else if ($op == 'prepare' && ! isset ( $node->icanlocalize ) && isset($node->nid) ) {In the case of the creation of a new node is not yet set.