- Patch #1578998 by droplet: move forum topic and leave shadow cause duplicated topics show in list.

8.0.x
Dries 2012-05-16 21:18:09 -04:00
parent 20958cbbc0
commit 6f760ac8a2
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ function forum_get_topics($tid, $sortby, $forum_per_page) {
$last_reply->uid = $topic->last_comment_uid;
$topic->last_reply = $last_reply;
}
$topics[] = $topic;
$topics[$topic->nid] = $topic;
}
return $topics;