aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáté Bartus <CHItA@users.noreply.github.com>2017-09-07 14:37:51 +0200
committerGitHub <noreply@github.com>2017-09-07 14:37:51 +0200
commit908b1c9bc9e05f35454cd963ce4bc48666041c44 (patch)
tree88e103abb68c4af1460736da4e6be7114dfac3ce
parentf3b5862468568fb12694936938c070d43065f11b (diff)
parent79093c11459d0a95116b1d6f6c3cf70084f099ea (diff)
downloadforums-908b1c9bc9e05f35454cd963ce4bc48666041c44.tar
forums-908b1c9bc9e05f35454cd963ce4bc48666041c44.tar.gz
forums-908b1c9bc9e05f35454cd963ce4bc48666041c44.tar.bz2
forums-908b1c9bc9e05f35454cd963ce4bc48666041c44.tar.xz
forums-908b1c9bc9e05f35454cd963ce4bc48666041c44.zip
Merge pull request #4906 from rxu/ticket/15327
[ticket/15327] Add post anchor to the log postlink
-rw-r--r--phpBB/phpbb/log/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php
index cf3db365a4..5aad7ee326 100644
--- a/phpBB/phpbb/log/log.php
+++ b/phpBB/phpbb/log/log.php
@@ -747,7 +747,7 @@ class log implements \phpbb\log\log_interface
foreach ($log as $key => $row)
{
$log[$key]['viewtopic'] = (isset($topic_auth['f_read'][$row['topic_id']])) ? append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", 'f=' . $topic_auth['f_read'][$row['topic_id']] . '&amp;t=' . $row['topic_id']) : false;
- $log[$key]['viewpost'] = (isset($topic_auth['f_read'][$row['topic_id']]) && $row['post_id']) ? append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", 'f=' . $topic_auth['f_read'][$row['topic_id']] . '&amp;t=' . $row['topic_id'] . '&amp;p=' . $row['post_id']) : false;
+ $log[$key]['viewpost'] = (isset($topic_auth['f_read'][$row['topic_id']]) && $row['post_id']) ? append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", 'f=' . $topic_auth['f_read'][$row['topic_id']] . '&amp;t=' . $row['topic_id'] . '&amp;p=' . $row['post_id'] . '#p' . $row['post_id']) : false;
$log[$key]['viewlogs'] = (isset($topic_auth['m_'][$row['topic_id']])) ? append_sid("{$this->phpbb_root_path}mcp.{$this->php_ext}", 'i=logs&amp;mode=topic_logs&amp;t=' . $row['topic_id'], true, $this->user->session_id) : false;
}
}