X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-unlock_sponsor.php;h=e6924acb4f7d52700ac23069cd1f19d39b83f1de;hb=2fcf6314278d4f1d3fe1af02e622a2b2c4134c2d;hp=bd1f77f5060c45d90c026fa18ea49201a11fbeb9;hpb=a49d1f4613f3f7d47fb57d946e9f7f705bd34a9b;p=mailer.git diff --git a/inc/modules/admin/what-unlock_sponsor.php b/inc/modules/admin/what-unlock_sponsor.php index bd1f77f506..e6924acb4f 100644 --- a/inc/modules/admin/what-unlock_sponsor.php +++ b/inc/modules/admin/what-unlock_sponsor.php @@ -1,7 +1,7 @@ 0) { + if (countSelection(postRequestParameter('id')) > 0) { // At least one entry selected - foreach (postRequestElement('id') as $id => $selected) { + foreach (postRequestParameter('id') as $id => $selected) { // Secure id number and init $content $content = array( 'id' => bigintval($id), @@ -91,7 +91,7 @@ ORDER BY sp.pay_name", // Transfer data to array $data = array( 'admin_id' => $content['email'], - 'order' => ($content['pay_count'] * $content['pay_rate'])." ".$content['pay_currency'], + 'order' => ($content['pay_count'] * $content['pay_rate']) . ' ' . $content['pay_currency'], 'stamp' => generateDateTime($content['pay_ordered'], 2), 'pname' => $content['pay_name'], );