Index: civicrm/trunk/sites/all/modules/paypal_audit/paypal_audit.php |
— | — | @@ -11,14 +11,14 @@ |
12 | 12 | * @param string $end_date |
13 | 13 | * @param array $options |
14 | 14 | */ |
15 | | - public function getCustomReport( $start_date, $end_date, $options ) { |
| 15 | + public function getCustomReport( $start_date, $end_date, $options=array() ) { |
16 | 16 | require_once( variable_get( 'paypal_audit_dir', CONTRIBUTION_AUDIT_PAYFLOW_AUDIT_DIR ) . "PayflowReportTypes.php"); |
17 | 17 | |
18 | 18 | $time_bounds = array( $this->fixTime( $start_date ), $this->fixTime( $endDate )); |
19 | 19 | |
20 | 20 | $report = new CustomReport( $time_bounds ); |
21 | 21 | $report_options = $report->getOptions( true ); |
22 | | - $report->setOptions( array_push( $options, $report_options )); |
| 22 | + $report->setOptions( array_push( $report_options, $options )); |
23 | 23 | $report->runReport(); |
24 | 24 | |
25 | 25 | return $results; |