]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_unconfirmed.php
Fix for missing language string and variable renamed to better naming convention
[mailer.git] / inc / modules / admin / what-list_unconfirmed.php
index 2d57bc67158630dc855c8bf3388982df3678ca88..068e0cf8da6c370061894fb7e54d113e2d59d846 100644 (file)
@@ -75,7 +75,7 @@ LIMIT 1",
        $col = 'stats_id'; $type = 'NORMAL'; $ID = '-1';
 
        // Load admin_list_unconfirmed template
-       $listed = true; $DATA = getRequestParameter('mid'); $LINK = 'mailid';
+       $listed = true; $DATA = getRequestParameter('mid'); $mailType = 'mailid';
 } elseif ((isGetRequestParameterSet('bid')) && (isExtensionActive('bonus'))) {
        // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}');
 
@@ -94,7 +94,7 @@ LIMIT 1",
        $col = 'bonus_id'; $type = 'BONUS'; $ID = getRequestParameter('bid');
 
        // Load admin_list_unconfirmed template
-       $listed = true; $DATA = $ID; $LINK = 'bonusid';
+       $listed = true; $DATA = $ID; $mailType = 'bonusid';
 } else {
        // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus
        loadTemplate('admin_settings_saved', false, '{--ADMIN_CALL_NOT_DIRECTLY--}');
@@ -146,7 +146,7 @@ LIMIT %s",
                                        // Prepare data for the row template
                                        $row = array(
                                                'userid' => $row['userid'],
-                                               'link'   => $LINK,
+                                               'link'   => $mailType,
                                                'id'     => $ID,
                                                'email'  => '<a href="' . generateEmailLink($row['email'], 'user_data') . '">' . translateGender($row['gender']) . ' ' . $row['surname'] . ' ' . $row['family'] . '</a>',
                                                'status' => $row['status'],