Update pms_view.php

Fix the pagination issue with last post link (https://fluxbb.org/forums/viewtopic.php?pid=53846#p53846)
Merge pull request #2 from Askelon/patch-1

Fixing pagination bug