Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / index.php
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--views/archive/index.php2
diff --git a/views/archive/index.php b/views/archive/index.php
index 085a033..846f910 100644
--- a/views/archive/index.php
+++ b/views/archive/index.php
@@ -24,7 +24,7 @@
<!-- Button to delete -->
<h2>Archives by date:</h2>
- <?php foreach (Database\Webpage::allArchives($page->URL) as $page): ?>
+ <?php foreach ($page->allArchives() as $page): ?>
<section class="item">
<section>
<div>