Explorar o código

! Fix #660: Paid subscription can fail using custom currency code

Signed-off-by: John Rayes <[email protected]>
John Rayes %!s(int64=10) %!d(string=hai) anos
pai
achega
25588cc26e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/Subscriptions-PayPal.php

+ 1 - 1
Sources/Subscriptions-PayPal.php

@@ -261,7 +261,7 @@ class paypal_payment
 			$this->_findSubscription();
 
 		// Verify the currency!
-		if (strtolower($_POST['mc_currency']) !== $modSettings['paid_currency_code'])
+		if (strtolower($_POST['mc_currency']) !== strtolower($modSettings['paid_currency_code']))
 			exit;
 
 		// Can't exist if it doesn't contain anything.