@@ -, +, @@ $min in C4/Tags.pm --------- -- should succeed, but there is no test for empty tags. (e.g. ~/koha-dev/var/log/koha-opac-error_log) for entries regarding uninitialized values $max and $min in C4/Tags.pm -- should still succeed, though no tests are added. -- Result: No additional warnings in opac error log file. --- C4/Tags.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Tags.pm +++ a/C4/Tags.pm @@ -588,7 +588,7 @@ sub add_tag { # biblionumber,term,[borrowernumber,approvernumber] # value. sub stratify_tags { my ( $strata, $tags ) = @_; - + return (0,0) if !@$tags; my ( $min, $max ); foreach (@$tags) { my $w = $_->{weight_total}; --