From a169fb896ddb76f510b9a0e1720d64c0f2258158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Mon, 27 Jan 2025 19:06:14 +0100
Subject: [PATCH] Placeholder pro prazdny kraj

---
 lib/CF2022/Controller/Orders.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CF2022/Controller/Orders.pm b/lib/CF2022/Controller/Orders.pm
index 04ce5f1..339d9f0 100644
--- a/lib/CF2022/Controller/Orders.pm
+++ b/lib/CF2022/Controller/Orders.pm
@@ -48,7 +48,7 @@ sub create ($c ) {
         },
         {
             question => $c->config->{pretix_qid_region},
-            answer   => $group->{region},
+            answer   => $group->{region} // '-',
         },
     );
 
-- 
GitLab