]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
Fix for installation
[mailer.git] / mailid_top.php
index 7e63705eaaf9c70ef6a08ea63075c5fcecc8b25e..b68409ad3aa8d94ee8a02eb931e4a9edd8f08487 100644 (file)
@@ -49,7 +49,7 @@ if (isInstalled()) {
        // Is the extension active
        if (!EXT_IS_ACTIVE("mailid", true)) {
                // Is not activated/installed yet!
-               addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "mailid");
+               addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "mailid");
        } // END - if
 
        // Secure all data
@@ -162,7 +162,7 @@ if (isInstalled()) {
                                                        if (($time > 0) && ($payment > 0)) {
                                                                if (!empty($code)) {
                                                                        // Generate code
-                                                                       $img_code = GEN_RANDOM_CODE(getConfig('code_length'), $code, $url_uid, $DATA);
+                                                                       $img_code = generateRandomCodde(getConfig('code_length'), $code, $url_uid, $DATA);
                                                                } // END - if
 
                                                                switch ($mode) {