[ticket/13186] Don't show link on post count when search disabled

PHPBB3-13186
Merge pull request #3045 from Elsensee/ticket/13186

[ticket/13186] Don't show link on post count when search disabled
Merge branch 'develop-ascraeus' into develop