Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/minfraud/minfraud.php |
— | — | @@ -86,8 +86,8 @@ |
87 | 87 | if ( $this->log_fh ) { |
88 | 88 | $log_message = '"' . addslashes( $data[ 'comment' ] ) . '"'; |
89 | 89 | $log_message .= "\t" . '"' . addslashes( $data[ 'amount' ] . ' ' . $data[ 'currency' ] ) . '"'; |
90 | | - $log_message .= "\t" . '"' . addslashes( serialize( $minfraud_hash )) . '"'; |
91 | | - $log_message .= "\t" . '"' . addslashes( serialize( $this->minfraud_response )) . '"'; |
| 90 | + $log_message .= "\t" . '"' . addslashes( json_encode( $minfraud_hash )) . '"'; |
| 91 | + $log_message .= "\t" . '"' . addslashes( json_encode( $this->minfraud_response )) . '"'; |
92 | 92 | $log_message .= "\t" . '"' . addslashes( $pfp_gateway_object->action ) . '"'; |
93 | 93 | $log_message .= "\t" . '"' . addslashes( $data[ 'referrer' ] ) . '"'; |
94 | 94 | $this->log( $data[ 'contribution_tracking_id' ], 'minFraud query', $log_message ); |