summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/wagenreihung.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 9fe132d..493d9c6 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -32,7 +32,7 @@
% for my $desc ($wr->train_descriptions) {
% if ($desc->{text}) {
%= $desc->{text}
- % if ($has_multi_desc) {
+ % if ($has_multi_desc and length(join(q{}, sort @{$desc->{sections}}))) {
in Abschnitt <%= join(q{}, sort @{$desc->{sections}}) %>
% }
<br/>