diff options
Diffstat (limited to 'controllers/archive.php')
| -rw-r--r-- | controllers/archive.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/archive.php b/controllers/archive.php index 0941d12..6b6098c 100644 --- a/controllers/archive.php +++ b/controllers/archive.php @@ -370,7 +370,7 @@ class DownloadPage { debugPrintToConsole("This is necessary for some reason, without it the content is not actually shown!"); $currentPageId = basename(__DIR__); - $currentPage = Database\Webpage::getPageById($currentPageId); + $currentPage = Database\Webpage::fromDBwid($currentPageId); $requesterUsername = Database\User::fromDBuid($currentPage->RequesterUID); $previousPageId = Database\Webpage::getPreviousPageId($currentPage->URL, $currentPage->Date); |
