]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Added script template for cron jobs, fixed some checks on CSS/HTML mode
[mailer.git] / inc / functions.php
index f6ac2194357cfcb8571d22c387a6441202881309..2d1db00eaec4fdbc81942671c27c0254883e1133 100644 (file)
@@ -2140,7 +2140,7 @@ function capitalizeUnderscoreString ($str) {
 }
 
 // Generate admin links for mail order
-// mailType can be: 'mid' or 'bid'
+// mailType can be: 'normal' or 'bonus'
 function generateAdminMailLinks ($mailType, $mailId) {
        // Init variables
        $OUT = '';
@@ -2152,11 +2152,11 @@ function generateAdminMailLinks ($mailType, $mailId) {
 
        // Which mail do we have?
        switch ($mailType) {
-               case 'bid': // Bonus mail
+               case 'bonus': // Bonus mail
                        $table = 'bonus';
                        break;
 
-               case 'mid': // Member mail
+               case 'normal': // Member mail
                        $table = 'pool';
                        break;