Browse files

fixed #5 - Added default for $transactions (0) to avoid null error, a…

…s per @Nochek
  • Loading branch information...
1 parent 16b140d commit 8ceaefecd7201e714472ac361f07bc2eafc4d1a5 @jcleblanc jcleblanc committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/php/pptransact.php
View
2 server/php/pptransact.php
@@ -118,7 +118,7 @@ public function commitPayment($userId = 0, $payerId, $token, $amt, $itemId){
}
- public function verifyPurchase($userId = 0, $itemId = 0, $transactions){
+ public function verifyPurchase($userId = 0, $itemId = 0, $transactions = 0){
// $arrTransactions = json_decode($transactions);
$transactionId = null;

0 comments on commit 8ceaefe

Please sign in to comment.