summaryrefslogtreecommitdiffstats
path: root/core/views/uploads.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r--core/views/uploads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/uploads.py b/core/views/uploads.py
index 6a45e08..9678c5c 100644
--- a/core/views/uploads.py
+++ b/core/views/uploads.py
@@ -340,7 +340,7 @@ def logbookedit(request, year=None, slug=None):
# This is a hack, why can we not reproduce this bug on the dev system?
if len(slug) < 7:
slug = ""
- if prev_slug < 7:
+ if len(prev_slug) < 7:
prev_slug = ""
if not prev_slug and not slug: