Skip to content

Commit

Permalink
Fixed issue with donate page not loading
Browse files Browse the repository at this point in the history
Donate page would only show a blank screen.  Fixed issue where $_POST
was meant to be referenced but was being used incorrectly.
  • Loading branch information
paintballrefjosh committed Jan 20, 2017
1 parent 20c3a3a commit 96067e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/class.paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ private function writeLog($msg)
// ************************************************************
// For the IPN. use to check if payment is valid, and the status

function checkPayment($_POST)
function checkPayment($POST)
{
$req = 'cmd=_notify-validate';
foreach($_POST as $key => $value)
foreach($POST as $key => $value)
{
$value = urlencode(stripslashes($value));
$req .= "&$key=$value";
Expand Down Expand Up @@ -122,7 +122,7 @@ function checkPayment($_POST)
{
$err = array();
$err[] = '--- Start Transaction ---';
foreach($_POST as $var)
foreach($POST as $var)
{
$err[] = $var;
}
Expand Down

0 comments on commit 96067e2

Please sign in to comment.