]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
Shorter columns, thanks to meinimbuzz
[mailer.git] / mailid_top.php
index ceb720dce3cf1c463a8eabd459c084dd60a89bd9..8b812839c4f142799e26bf750395e0c4a1d7a7f7 100644 (file)
@@ -176,7 +176,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                                        $img_code = '0';
                                                        if (!empty($code)) {
                                                                // Generate code
-                                                               $img_code = generateRandomCode(getConfig('code_length'), $code, $userId, $urlId);
+                                                               $img_code = generateRandomCode(getCodeLength(), $code, $userId, $urlId);
                                                        } // END - if
 
                                                        // @TODO Rewrite this to a filter
@@ -316,7 +316,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                                                                $content['type']   = $type;
                                                                                $content['data']   = $urlId;
                                                                                $content['banner'] = loadTemplate('mailid_banner', true);
-                                                                               if (getConfig('code_length') > 0) {
+                                                                               if (getCodeLength() > 0) {
                                                                                        // Generate Code
                                                                                        $content['image'] = generateCaptchaCode($code, $type, $urlId, $userId);
                                                                                        $templ = 'mailid_enter_code';