Skip to content

Commit 36a1fe7

Browse files
committed
fix #133
1 parent 4eb8d0b commit 36a1fe7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/recenttopics.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ private function fill_template($tpl_loopname, $topic_tracking_info, int $topics_
867867
'S_POST_GLOBAL' => $row['topic_type'] == POST_GLOBAL,
868868
'S_POST_STICKY' => $row['topic_type'] == POST_STICKY,
869869
'S_TOPIC_LOCKED' => $row['topic_status'] == ITEM_LOCKED,
870+
'S_USER_POSTED' => (isset($row['topic_posted']) && $row['topic_posted']) ? true : false,
870871
'S_TOPIC_MOVED' => $row['topic_status'] == ITEM_MOVED,
871872
'S_TOPIC_TYPE_SWITCH' => ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test,
872873
'U_NEWEST_POST' => $view_topic_url . '&view=unread#unread',

0 commit comments

Comments
 (0)