From 6e556ab09bc41f729af00468ebcbd3e26a517d88 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 25 Jan 2019 13:13:45 +0100 Subject: [PATCH] Fix wrong warning message --- src/pretix/control/templates/pretixcontrol/item/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/control/templates/pretixcontrol/item/base.html b/src/pretix/control/templates/pretixcontrol/item/base.html index 8d80823360..6359e3b8fe 100644 --- a/src/pretix/control/templates/pretixcontrol/item/base.html +++ b/src/pretix/control/templates/pretixcontrol/item/base.html @@ -36,7 +36,7 @@ item to an existing or newly created quota. {% endblocktrans %} - {% elif not object.is_available_by_time %} + {% elif object.pk and not object.is_available_by_time %}
{% blocktrans trimmed %} This product is currently not being sold since you configured below that it should only be available in a certain timeframe.