aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Nikolov <ggeorgi60@gmail.com>2025-02-10 16:05:51 +0000
committerGeorgi Nikolov <ggeorgi60@gmail.com>2025-02-10 16:05:51 +0000
commita6b92ed527e948e2701e7e07ec67443928857b26 (patch)
treeb78ca18e9371770f1266ed7d38bfd989d181d119
parent9ac61425b3711b7f5fbba394a88523bf35d81068 (diff)
downloadnowayforward_human-a6b92ed527e948e2701e7e07ec67443928857b26.tar
nowayforward_human-a6b92ed527e948e2701e7e07ec67443928857b26.tar.gz
nowayforward_human-a6b92ed527e948e2701e7e07ec67443928857b26.zip
Fixed the archive page not working when the user was not signed in
-rw-r--r--views/archive/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/archive/index.php b/views/archive/index.php
index 02cf502..c1ad329 100644
--- a/views/archive/index.php
+++ b/views/archive/index.php
@@ -9,8 +9,8 @@
normalizeUrl($url);
$page = Database\Webpage::fromDB($url);
- $user = Database\Cookie::fromDB($TOKEN);
$archives = $page->allArchives();
+ $user = Database\Cookie::fromDB($TOKEN);
}
catch(Exception $e) {
}