aboutsummaryrefslogtreecommitdiff
path: root/views/home
diff options
context:
space:
mode:
Diffstat (limited to 'views/home')
-rw-r--r--views/home/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/home/index.php b/views/home/index.php
index abc872b..e14e23a 100644
--- a/views/home/index.php
+++ b/views/home/index.php
@@ -11,7 +11,7 @@
<h1>Most popular archives</h1>
-<?php foreach(Database\Webpage::mostVisited(10) as $page): ?>
+<?php foreach(Database\Webpage::fromDBmostVisited(10) as $page): ?>
<section class="card" onclick="goto_archive('<?= $page->URL ?>')">
<section class="quickinfo">
<a href="<?= $page->URL ?>"><?= $page->URL ?></a>