diff options
| author | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-02-10 16:05:51 +0000 |
|---|---|---|
| committer | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-02-10 16:05:51 +0000 |
| commit | a6b92ed527e948e2701e7e07ec67443928857b26 (patch) | |
| tree | b78ca18e9371770f1266ed7d38bfd989d181d119 /views | |
| parent | 9ac61425b3711b7f5fbba394a88523bf35d81068 (diff) | |
| download | nowayforward_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
Diffstat (limited to 'views')
| -rw-r--r-- | views/archive/index.php | 2 |
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) { } |
