Index: branches/5.2.x/units/reports/reports_event_handler.php =================================================================== diff -u -N -r16015 -r16021 --- branches/5.2.x/units/reports/reports_event_handler.php (.../reports_event_handler.php) (revision 16015) +++ branches/5.2.x/units/reports/reports_event_handler.php (.../reports_event_handler.php) (revision 16021) @@ -1,6 +1,6 @@ Records as $a_row) { + // TODO: maybe this should be SetDBFieldsFromHash instead, because all data comes from inside. $ReportItem->SetFieldsFromHash($a_row); $row = ''; foreach ($a_fields AS $field => $a_props) @@ -796,6 +797,7 @@ } // totals + // TODO: maybe this should be SetDBFieldsFromHash instead, because all data comes from inside. $ReportItem->SetFieldsFromHash($a_totals); $counter = 0; foreach ($a_fields AS $field => $a_props) Index: branches/5.2.x/units/gateways/gw_classes/paypal.php =================================================================== diff -u -N -r15141 -r16021 --- branches/5.2.x/units/gateways/gw_classes/paypal.php (.../paypal.php) (revision 15141) +++ branches/5.2.x/units/gateways/gw_classes/paypal.php (.../paypal.php) (revision 16021) @@ -1,6 +1,6 @@ '???', ); + // TODO: maybe this should be SetDBFieldsFromHash instead, because all data comes from inside. $order->SetFieldsFromHash($info); $order->SetDBField('Status', ORDER_STATUS_PROCESSED); @@ -265,4 +266,4 @@ return $success; } - } \ No newline at end of file + }