瀏覽代碼

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

Signed-off-by: John Rayes <[email protected]>
John Rayes 10 年之前
父節點
當前提交
25588cc26e
共有 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.