]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
Text is now centered
[mailer.git] / mailid_top.php
index 04f65fbea750cd390375a00d9c46b087e1ca957a..9a6c54cc648eed1f1d77c439864d6377b0d984ef 100644 (file)
@@ -52,10 +52,7 @@ require('inc/config.php');
 
 if (isInstalled()) {
        // Is the extension active
-       if (!EXT_IS_ACTIVE('mailid', true)) {
-               // Is not activated/installed yet!
-               addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'mailid');
-       } // END - if
+       REDIRECT_ON_UNINSTALLED_EXTENSION('mailid');
 
        // Secure all data
        $url_uid = 0; $url_bid = 0; $url_mid = 0; $code = 0; $mode = '';
@@ -217,7 +214,7 @@ if (isInstalled()) {
                                                                                // Update random confirmed as well?
                                                                                if (GET_EXT_VERSION('user') >= '0.3.4') {
                                                                                        // Update second counter
-                                                                                       SQL_QUERY_ESC(OB"UPDATE `{!_MYSQL_PREFIX!}_user_data` SET rand_confirmed=rand_confirmed + 1 WHERE userid=%s LIMIT 1",
+                                                                                       SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET rand_confirmed=rand_confirmed + 1 WHERE userid=%s LIMIT 1",
                                                                                                array($url_uid), __FILE__, __LINE__);
                                                                                } // END - if
                                                                        } // END - if