Fix #1405

Wrong function used for generating forum link.
https://github.com/mybb/mybb/issues/1405