From d7996c7d1dc8458ab87e0a524d13d6755001c267 Mon Sep 17 00:00:00 2001 From: "Stefan A. Brannfjell" Date: Wed, 19 Feb 2020 13:57:54 +0100 Subject: [PATCH] Update ipn.php --- ipn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipn.php b/ipn.php index 4c21077..a0019ce 100644 --- a/ipn.php +++ b/ipn.php @@ -91,7 +91,7 @@ // Check that txn_id has not been previously processed $txn_id_check = mysql_select_single("SELECT `txn_id` FROM `znote_paypal` WHERE `txn_id`='$txn_id'"); - if ($txn_id_check !== false) { + if ($txn_id_check !== true) { // Check that receiver_email is your Primary PayPal email if ($receiver_email == $paypal['email']) {