From 641ead99bb7dbcc0718e0ce51bf7490d06d7e194 Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Mon, 10 Mar 2025 20:06:23 +0000 Subject: Semantic error (no tout if first collection) --- cgi/home.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cgi/home.cgi') diff --git a/cgi/home.cgi b/cgi/home.cgi index b6dafb6..77bc5e1 100644 --- a/cgi/home.cgi +++ b/cgi/home.cgi @@ -17,7 +17,8 @@ def next_collection else "in #{days} days" end - tout = "Then " unless out.empty? + tout = "" + tout += "Then " unless out.empty? tout += case coll["service"] when "REFUSE"; "General Domestic Waste" when "RECYCLING"; "Recycling" -- cgit v1.2.3