- Patch #1578998 by droplet: move forum topic and leave shadow cause duplicated topics show in list.
parent
20958cbbc0
commit
6f760ac8a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue