Commit 4d6cc37f authored by Dries's avatar Dries

- Patch #1234316 by agi.novanta: fixed Notice: Undefined property: stdClass::...

- Patch #1234316 by agi.novanta: fixed Notice: Undefined property: stdClass:: in forum_node_update() (line 373 of /.../modules/forum/forum.module).
parent ce4e673d
......@@ -370,7 +370,7 @@ function forum_node_update($node) {
}
// If the node has a shadow forum topic, update the record for this
// revision.
if ($node->shadow) {
if (!empty($node->shadow)) {
db_delete('forum')
->condition('nid', $node->nid)
->condition('vid', $node->vid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment