Skip to content

Commit 781c287

Browse files
authored
Merge pull request #105 from BigKev73/patch-20
Update action.post.php
2 parents dbdd726 + e29aee0 commit 781c287

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
$tags['THREAD_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/viewtopic.php?topic_id=' . $postsObject[$post]->getVar('topic_id') . '&forum=' . $postsObject[$post]->getVar('forum_id');
130130
$tags['FORUM_NAME'] = $forum_list[$postsObject[$post]->getVar('forum_id')];
131131
$tags['FORUM_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/viewforum.php?forum=' . $postsObject[$post]->getVar('forum_id');
132-
$tags['POST_URL'] = $tags['THREAD_URL'] . '#forumpost' . $post;
132+
$tags['POST_URL'] = $tags['THREAD_URL'] . '&topic_id=' . $postsObject[$post]->getVar('topic_id') . '#forumpost' . $post;
133133
$notificationHandler->triggerEvent('thread', $postsObject[$post]->getVar('topic_id'), 'new_post', $tags);
134134
$notificationHandler->triggerEvent('forum', $postsObject[$post]->getVar('forum_id'), 'new_post', $tags);
135135
$notificationHandler->triggerEvent('global', 0, 'new_post', $tags);

0 commit comments

Comments
 (0)