From c0840887b1ccf479bc08e52658496693f5c15805 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 7 Aug 2011 15:57:43 -0400 Subject: - Patch #1234316 by agi.novanta: fixed Notice: Undefined property: stdClass:: in forum_node_update() (line 373 of /.../modules/forum/forum.module). --- modules/forum/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index c58b5c905..f2ac5acc5 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -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) -- cgit v1.2.3