diff options
Diffstat (limited to 'modules/statistics.module')
-rw-r--r-- | modules/statistics.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index 6161b6cb9..60991eff8 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -252,7 +252,7 @@ function statistics_recent_hits($type = 'all', $id = 0) { * Menu callback; presents the "Top pages" page. */ function statistics_top_pages() { - $sql = "SELECT COUNT(path) AS hits, path, title FROM {accesslog} GROUP BY path"; + $sql = "SELECT COUNT(path) AS hits, path, title FROM {accesslog} GROUP BY path, title"; $sql_cnt = "SELECT COUNT(DISTINCT(path)) FROM {accesslog}"; $header = array( |