New (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
[mailer.git] / inc / modules / admin / what-stats_mods.php
index 3520e30163f645e432de7a5b57893fadde04eb58..a2e5a685965f2fed0658fbca689273a7c60b5f68 100644 (file)
@@ -75,8 +75,6 @@ if ((getRequestParameter('mod') == 'index') || (getRequestParameter('mod') == 'l
        $result = SQL_QUERY("SELECT `module`, `title`, `clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC, `module` ASC", __FILE__, __LINE__);
        $OUT = ''; $SW = 2;
        while ($content = SQL_FETCHARRAY($result)) {
-               if (empty($content['title'])) $content['title'] = '---';
-
                if (($content['module'] == 'index') || ($content['module'] == 'login')) {
                        // Add link to detail statistics
                        $content['module'] = '<a href="{%url=modules.php?module=admin&amp;what=stats_mods&amp;mod=' . $content['module'] . '%}">' . $content['module'] . '</a>';