Fixed missing comma

@mikejolley
This commit is contained in:
claudiosmweb 2014-11-14 12:09:02 -02:00
parent 4b5d22b8e8
commit a91dd8b516
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
}
// Validate amount
if ( number_format( $order->get_total(), 2, '.', '' ) != number_format( $posted['mc_gross'] 2, '.', '' ) ) {
if ( number_format( $order->get_total(), 2, '.', '' ) != number_format( $posted['mc_gross'], 2, '.', '' ) ) {
if ( 'yes' == $this->debug ) {
$this->log->add( 'paypal', 'Payment error: Amounts do not match (gross ' . $posted['mc_gross'] . ')' );
}