Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-list_payouts.php
index 4f4d42c43dcd57fbcceeccaca77b2133fbedfb88..4fa53756a50802615fb9320f5982824fabf9a9fb 100644 (file)
@@ -75,7 +75,7 @@ if (isGetRequestParameterSet(('pid'))) {
                        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
@@ -173,7 +173,7 @@ LIMIT 1",
                                // 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) {