From 96f3ae0285656292b26e372a5e548363eaea009b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Dec 2019 09:04:38 +0100 Subject: [PATCH] Bug 24215: Do not always display an empty entry Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- about.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.pl b/about.pl index b9c5c5fe2d..dc6380099b 100755 --- a/about.pl +++ b/about.pl @@ -486,7 +486,7 @@ $template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs; $valid_relationships{ _bad_data } = 1; # we handle this case in another way my $wrong_relationships = [ grep { !$valid_relationships{ $_->[0] } } @{$existing_relationships} ]; - if ( $wrong_relationships or $bad_relationships_count ) { + if ( @$wrong_relationships or $bad_relationships_count ) { $template->param( warnRelationships => 1, -- 2.39.5