Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / index.php
diff options
context:
space:
mode:
Commitfaabc462d3080cac67687f450135a078731fb3d1 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-01 10:02:14 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-01 10:28:22 +0200
Filesb0d050b510386c3abcc48852bda16480b7c27e8e /views/archive/index.php
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar.gz
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.zip
Parent5a0d4f4a00c9162fbf773ca6b73d34354c6650fe (diff)
feat: Rework models methods to be more object-oriented where applicable
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>