From 4629875a54aecd5f6d223bfe0d95d0e63cedecd8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 4 May 2026 13:51:36 +0200 Subject: [PATCH] Bug 42453: Remove warning [WARN] Use of uninitialized value $index_count in numeric ne (!=) at /kohadevbox/koha/about.pl line 899. Signed-off-by: David Nind Signed-off-by: Lisette Scheer Signed-off-by: Lucas Gass (cherry picked from commit a508813f8bb1821a7b1a2d1c219df55a4d5b3394) Signed-off-by: Baptiste Wojtkowski --- about.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.pl b/about.pl index c9ba5390d5..5ff95d5792 100755 --- a/about.pl +++ b/about.pl @@ -893,7 +893,7 @@ sub elasticsearch_check { my $es = Search::Elasticsearch->new($es_conf); foreach my $index (@indexes) { - my $index_count; + my $index_count = 0; try { $index_count = $es->indices->stats( index => $index )->{_all}{primaries}{docs}{count}; } catch {