From 219637e215e0b5a27544519d606ca68062fb2266 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 23 Jul 2024 16:20:56 +0200 Subject: [PATCH] bug --- core/views/uploads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: