Large code cleanups:
[mailer.git] / inc / modules / admin / what-stats_mods.php
index b0a8b303dd09d655d427393aad502eb6299a30fd..56e294d47406039996346cbdbe9deac5ce2ceb52 100644 (file)
@@ -64,7 +64,7 @@ if ((getRequestElement('mod') == 'index') || (getRequestElement('mod') == 'login
        loadTemplate('admin_list_mods_stats2', false, $OUT);
 } else {
        // Load module statics
-       $result = SQL_QUERY("SELECT `module`,`title`,`clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC, `module` ASC", __FILE__, __LINE__);
+       $result = SQL_QUERY("SELECT `module`,`title`,`clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC,`module` ASC", __FILE__, __LINE__);
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                if (($content['module'] == 'index') || ($content['module'] == 'login')) {