1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

Merge pull request #4733 from Jimmi08/canonical-urls-on-topic-pages

Fixes #4712 canonical URLs for paged forum topic
This commit is contained in:
Cameron
2022-04-01 11:02:24 -07:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -375,8 +375,10 @@ else
e107::getDebug()->log($ret);
unset($ret);
}
$thread->threadInfo['thread_page'] = varset($thread->page,1);
e107::canonical('forum', 'topic-canonical', $thread->threadInfo);
e107::canonical('forum', 'topic', $thread->threadInfo);
require_once (HEADERF);