Fix #1405

Wrong function used for generating forum link.
https://github.com/mybb/mybb/issues/1405
Merge pull request #1407 from Destroy666x/fix1405

Fix #1405