Merge pull request #21274 from mattwire/contributionviewid
[civicrm-core.git] / CRM / Utils / Pager.php
index 692daf8547c56606ff6ec9b9904877564a241d26..d0c7a1d557122ebe939fcf51c8771f4f3663d6d2 100644 (file)
@@ -177,7 +177,7 @@ class CRM_Utils_Pager extends Pager_Sliding {
    * @return int
    *   new pageId to display to the user
    */
-  public function getPageID($defaultPageId = 1, &$params) {
+  public function getPageID($defaultPageId, &$params) {
     // POST has higher priority than GET vars
     // else if a value is set that has higher priority and finally the GET var
     $currentPage = $defaultPageId;