projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
50446f7
)
Bug 24215: Do not always display an empty entry
author
Jonathan Druart
<jonathan.druart@bugs.koha-community.org>
Wed, 18 Dec 2019 08:04:38 +0000 (09:04 +0100)
committer
Martin Renvoize
<martin.renvoize@ptfs-europe.com>
Wed, 18 Dec 2019 16:06:16 +0000 (16:06 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
about.pl
patch
|
blob
|
history
diff --git
a/about.pl
b/about.pl
index
b9c5c5f
..
dc63800
100755
(executable)
--- 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,