Update PaginatorHelper.php

fixed bug