mirror of
https://git.wownero.com/wownero/wownerowp.git
synced 2024-08-15 01:03:16 +00:00
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:
parent
5d043b0150
commit
7358d21b66
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class Monero_Gateway extends WC_Payment_Gateway
|
||||||
$payment_id = $this->set_paymentid_cookie();
|
$payment_id = $this->set_paymentid_cookie();
|
||||||
$uri = "monero:$address?amount=$amount?payment_id=$payment_id";
|
$uri = "monero:$address?amount=$amount?payment_id=$payment_id";
|
||||||
$array_integrated_address = $this->monero_daemon->make_integrated_address($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 ');
|
$this->log->add('Monero_Gateway', '[ERROR] Unable to getting integrated address ');
|
||||||
}
|
}
|
||||||
$message = $this->verify_payment($payment_id, $amount_xmr2, $order);
|
$message = $this->verify_payment($payment_id, $amount_xmr2, $order);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue