aboutsummaryrefslogtreecommitdiff
path: root/views/list
diff options
context:
space:
mode:
Diffstat (limited to 'views/list')
-rw-r--r--views/list/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/list/index.php b/views/list/index.php
index 01c18b4..79402ec 100644
--- a/views/list/index.php
+++ b/views/list/index.php
@@ -3,7 +3,7 @@
$author = null;
try {
- $list = Database\ArchiveList::fromDB($lid);
+ $list = Database\ArchiveList::fromDB($lid ?? -1);
$author = Database\User::fromDBuid($list->AuthorUID);
}
catch(Exception $e) {}