- Patch #1234316 by agi.novanta: fixed Notice: Undefined property: stdClass:: in forum_node_update() (line 373 of /.../modules/forum/forum.module).
parent
776cf15457
commit
c0840887b1
|
@ -370,7 +370,7 @@ function forum_node_update($node) {
|
||||||
}
|
}
|
||||||
// If the node has a shadow forum topic, update the record for this
|
// If the node has a shadow forum topic, update the record for this
|
||||||
// revision.
|
// revision.
|
||||||
if ($node->shadow) {
|
if (!empty($node->shadow)) {
|
||||||
db_delete('forum')
|
db_delete('forum')
|
||||||
->condition('nid', $node->nid)
|
->condition('nid', $node->nid)
|
||||||
->condition('vid', $node->vid)
|
->condition('vid', $node->vid)
|
||||||
|
|
Loading…
Reference in New Issue