Преглед изворни кода

Merge pull request #661 from live627/s

! Fix #660: Paid subscription can fail using custom currency code
Arantor пре 11 година
родитељ
комит
6d975d04e5
1 измењених фајлова са 1 додато и 1 уклоњено
  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.