- Patch #1234316 by agi.novanta: fixed Notice: Undefined property: stdClass:: in forum_node_update() (line 373 of /.../modules/forum/forum.module).

merge-requests/26/head
Dries Buytaert 2011-08-07 15:57:43 -04:00
parent 776cf15457
commit c0840887b1
1 changed files with 1 additions and 1 deletions

View File

@ -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)