X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-unlock_sponsor.php;h=e6924acb4f7d52700ac23069cd1f19d39b83f1de;hp=bd1f77f5060c45d90c026fa18ea49201a11fbeb9;hb=57227d33e870ec5cd271209c4a978a52b45c2dd6;hpb=a49d1f4613f3f7d47fb57d946e9f7f705bd34a9b 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'], );