]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-send_bonus.php
Checking new member registrations is now done with list_user (was: chk_regs) and...
[mailer.git] / inc / modules / admin / what-send_bonus.php
index 523f00c31bbb83833318e01c83822053b6816ddf..20514fd4ac11b58f13b240f5b52faf9c6d456a08 100644 (file)
@@ -48,19 +48,16 @@ if (!isExtensionActive('order')) {
        return;
 } // END - if
 
-// Set empty mode to "select"
-if (!isGetRequestParameterSet('mode')) setGetRequestParameter('mode', 'select');
+// 'mode' is not set by default
+if (!isGetRequestParameterSet('mode')) {
+       // Set empty mode to "select"
+       setGetRequestParameter('mode', 'select');
+} // END - if
 
 if (isFormSent()) {
        // Deliver bonus mail
        addNewBonusMail(postRequestArray(), getRequestParameter('mode'));
 } else {
-       // Get all available users
-       $content['all'] = getRequestParameter('mode');
-
-       // Prepare option lines
-       $content['options_lines'] = getRequestParameter('mode');
-
        // Store send mode
        $content['mode'] = getRequestParameter('mode');