debug_report_bug(__FILE__, __LINE__, 'No user account ' . $userid . ' found.');
} // END - if
- if ((getRequestParameter('do') == 'accept') && (!empty(getUserData('email')))) {
+ if ((getRequestParameter('do') == 'accept') && (getUserData('email') != '')) {
// Ok, now we can output the form or execute accepting
if (isFormSent()) {
// Obtain payout type and other data
// Load template
loadTemplate('admin_payout_accept_form', false, $content);
}
- } elseif ((getRequestParameter('do') == 'reject') && (!empty(getUserData('email')))) {
+ } elseif ((getRequestParameter('do') == 'reject') && (getUserData('email') != '')) {
// Ok, now we can output the form or execute rejecting
if (isFormSent()) {
if ($task > 0) {