]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-top10.php
More double->single convertions
[mailer.git] / inc / modules / guest / what-top10.php
index 3acd9680593b5d5ac4b04e6b73d371816991fd7d..b784135a098b63a4bbda012909148c1269319e5b 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif ((!EXT_IS_ACTIVE('top10')) && (!IS_ADMIN())) {
-       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'top10'));
+       addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('top10'));
        return;
 }
 
@@ -60,7 +60,7 @@ WHERE
 ORDER BY
        total_logins DESC
 LIMIT %s",
-       array(getConfig('top10_max')), __FILE__, __LINE__);
+array(getConfig('top10_max')), __FILE__, __LINE__);
 
 $OUT = ''; $SW = 2; $cnt = 1;
 while ($content = SQL_FETCHARRAY($result)) {
@@ -131,7 +131,7 @@ ORDER BY
        tpoints DESC,
        d.last_online DESC
 LIMIT %s",
-       array(getConfig('top10_max')), __FILE__, __LINE__);
+array(getConfig('top10_max')), __FILE__, __LINE__);
 
 $OUT = ''; $SW = 2; $cnt = 1;
 while ($content = SQL_FETCHARRAY($result)) {
@@ -201,7 +201,7 @@ ORDER BY
        refs DESC,
        d.last_online DESC
 LIMIT %s",
-       array(getConfig('top10_max')), __FILE__, __LINE__);
+array(getConfig('top10_max')), __FILE__, __LINE__);
 
 $OUT = ''; $SW = 2; $cnt = 1;
 while ($content = SQL_FETCHARRAY($result)) {