Merge pull request #23003 from colemanw/fixAllRowsSelected
[civicrm-core.git] / CRM / Event / Page / ParticipantListing / Simple.php
index 1341eb834b8b919335f32b07ef27e1815f4844f5..5452d805dd0d2f098de1ed19002cd2393791e8a5 100644 (file)
@@ -13,8 +13,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
  */
 class CRM_Event_Page_ParticipantListing_Simple extends CRM_Core_Page {
 
@@ -106,7 +104,7 @@ LIMIT    $offset, $rowCount";
     $params['buttonBottom'] = 'PagerBottomButton';
     $params['rowCount'] = $this->get(CRM_Utils_Pager::PAGE_ROWCOUNT);
     if (!$params['rowCount']) {
-      $params['rowCount'] = CRM_Utils_Pager::ROWCOUNT;
+      $params['rowCount'] = Civi::settings()->get('default_pager_size');
     }
 
     $query = "