Bug 24215: Do not always display an empty entry
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
50446f777b
commit
96f3ae0285
2
about.pl
2
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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue