X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid_top.php;h=9a6c54cc648eed1f1d77c439864d6377b0d984ef;hb=d706465407fd500b5c042a435a8007edb788e3f2;hp=04f65fbea750cd390375a00d9c46b087e1ca957a;hpb=a090e351c49fe021fb3064325694da03402332e0;p=mailer.git diff --git a/mailid_top.php b/mailid_top.php index 04f65fbea7..9a6c54cc64 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -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