X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm%2FContribute%2FSybunt.php;h=67f6f21f215485e6b9e0ea30dd5defff251b067b;hb=fa65697b919b2f7c294e9dfed039d52135dfe84b;hp=3dcfffb67f74c7666dcc55ff68e636e9e0d2535c;hpb=1219e6af26646ad548b2d7e97a7f345af4655c21;p=civicrm-core.git diff --git a/CRM/Report/Form/Contribute/Sybunt.php b/CRM/Report/Form/Contribute/Sybunt.php index 3dcfffb67f..67f6f21f21 100644 --- a/CRM/Report/Form/Contribute/Sybunt.php +++ b/CRM/Report/Form/Contribute/Sybunt.php @@ -42,7 +42,6 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { public $_drilldownReport = array('contribute/detail' => 'Link to Detail Report'); /** - * */ public function __construct() { $yearsInPast = 10; @@ -273,8 +272,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { self::fiscalYearOffset('contri.receive_date') . " = {$this->_params['yid_value']} AND contri.is_test = 0 )"; } - elseif (CRM_Utils_Array::value('type', $field) & - CRM_Utils_Type::T_DATE + elseif (CRM_Utils_Array::value('type', $field) & CRM_Utils_Type::T_DATE ) { $relative = CRM_Utils_Array::value("{$fieldName}_relative", $this->_params); $from = CRM_Utils_Array::value("{$fieldName}_from", $this->_params); @@ -518,8 +516,8 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { } } - // Override "This Year" $op options /** + * Override "This Year" $op options * @param string $type * @param null $fieldName * @@ -529,7 +527,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { if ($fieldName == 'yid') { return array( 'calendar' => ts('Is Calendar Year'), - 'fiscal' => ts('Fiscal Year Starting') + 'fiscal' => ts('Fiscal Year Starting'), ); } return parent::getOperationPair($type, $fieldName);