X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm%2FEvent%2FIncome.php;h=6dfcf0ef1db913e0046745a3a61c8d7945cf0e62;hb=841781205ef7c0c2656fc1c77bf6d739a4bc440a;hp=c6405f8790b92ba52f74c832af600d251a532443;hpb=dc98079b06a4e107941cdfd27b48889823111390;p=civicrm-core.git diff --git a/CRM/Report/Form/Event/Income.php b/CRM/Report/Form/Event/Income.php index c6405f8790..6dfcf0ef1d 100644 --- a/CRM/Report/Form/Event/Income.php +++ b/CRM/Report/Form/Event/Income.php @@ -291,7 +291,7 @@ class CRM_Report_Form_Event_Income extends CRM_Report_Form_Event { //if pageId is greator than last page then display last page. if ((($pageId * self::ROW_COUNT_LIMIT) - 1) > $this->_rowsFound) { - $pageId = ceil((float)$this->_rowsFound / (float)self::ROW_COUNT_LIMIT); + $pageId = ceil((float) $this->_rowsFound / (float) self::ROW_COUNT_LIMIT); $this->set(CRM_Utils_Pager::PAGE_ID, $pageId); } $this->_limit = ($pageId - 1) * self::ROW_COUNT_LIMIT;