r86584 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86583‎ | r86584 | r86585 >
Date:00:09, 21 April 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Fixed incorrect handling of array_push in Paypal_Audit::getCustomReport
Modified paths:
  • /civicrm/trunk/sites/all/modules/paypal_audit/paypal_audit.php (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/paypal_audit/paypal_audit.php
@@ -18,7 +18,8 @@
1919
2020 $report = new CustomReport( $time_bounds );
2121 $report_options = $report->getOptions( true );
22 - $report->setOptions( array_push( $report_options, $options ));
 22+ array_push( $report_options, $options );
 23+ $report->setOptions( $report_options );
2324 $report->runReport();
2425
2526 return $results;

Status & tagging log