Quick typo fix

Adds the '!' operator in front of the if(isset($array_integrated_address)) expression so that the error message will only show up if it is NOT set
This commit is contained in:
cryptochangements34 2017-08-07 12:17:51 -05:00 committed by GitHub
parent 5d043b0150
commit 7358d21b66
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ class Monero_Gateway extends WC_Payment_Gateway
$payment_id = $this->set_paymentid_cookie();
$uri = "monero:$address?amount=$amount?payment_id=$payment_id";
$array_integrated_address = $this->monero_daemon->make_integrated_address($payment_id);
if(isset($array_integrated_address)){
if(!isset($array_integrated_address)){
$this->log->add('Monero_Gateway', '[ERROR] Unable to getting integrated address ');
}
$message = $this->verify_payment($payment_id, $amount_xmr2, $order);