summaryrefslogtreecommitdiff
path: root/modules/top10_pageviews/module.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/top10_pageviews/module.php')
-rw-r--r--modules/top10_pageviews/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/top10_pageviews/module.php b/modules/top10_pageviews/module.php
index 07cf8c7443..509b951df4 100644
--- a/modules/top10_pageviews/module.php
+++ b/modules/top10_pageviews/module.php
@@ -70,7 +70,7 @@ class top10_pageviews_WT_Module extends WT_Module implements WT_Module_Block {
// load the lines from the file
$top10=WT_DB::prepareLimit(
"SELECT page_parameter, page_count".
- " FROM ##hit_counter".
+ " FROM `##hit_counter`".
" WHERE gedcom_id=? AND page_name IN ('individual.php','family.php','source.php','repo.php','note.php','mediaviewer.php')".
" ORDER BY page_count DESC",
$num