diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-08-07 15:57:43 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-08-07 15:57:43 -0400 |
commit | c0840887b1ccf479bc08e52658496693f5c15805 (patch) | |
tree | 51c20ebc3fe9bd0dd22af76316a39295ab0be361 | |
parent | 776cf15457c0638ac60735f01fc0f0ca176674b2 (diff) | |
download | brdo-c0840887b1ccf479bc08e52658496693f5c15805.tar.gz brdo-c0840887b1ccf479bc08e52658496693f5c15805.tar.bz2 |
- Patch #1234316 by agi.novanta: fixed Notice: Undefined property: stdClass:: in forum_node_update() (line 373 of /.../modules/forum/forum.module).
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
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) |