Update Pagination.php

https://github.com/osclass/Osclass/issues/1324