mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 05:34:01 +02:00
[ticket/16138] Eliminate redundant parameters from board URLs
Rebase to 3.3.x PHPBB3-16138
This commit is contained in:
@@ -47,7 +47,7 @@ abstract class post_base extends attachments_base
|
||||
*/
|
||||
public function adjust_item(&$item_row, &$row)
|
||||
{
|
||||
$item_row['link'] = $this->helper->append_sid('viewtopic.' . $this->phpEx, "t={$row['topic_id']}&p={$row['post_id']}#p{$row['post_id']}");
|
||||
$item_row['link'] = $this->helper->append_sid('viewtopic.' . $this->phpEx, "p={$row['post_id']}#p{$row['post_id']}");
|
||||
|
||||
if ($this->config['feed_item_statistics'])
|
||||
{
|
||||
|
@@ -47,7 +47,7 @@ abstract class topic_base extends attachments_base
|
||||
*/
|
||||
public function adjust_item(&$item_row, &$row)
|
||||
{
|
||||
$item_row['link'] = $this->helper->append_sid('viewtopic.' . $this->phpEx, 't=' . $row['topic_id'] . '&p=' . $row['post_id'] . '#p' . $row['post_id']);
|
||||
$item_row['link'] = $this->helper->append_sid('viewtopic.' . $this->phpEx, 'p=' . $row['post_id'] . '#p' . $row['post_id']);
|
||||
|
||||
if ($this->config['feed_item_statistics'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user