From d77897c20391137ed55bda69170b2a6f71b0c855 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: Pedro Amorim --- about.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.pl b/about.pl index e7914ede3a..97d756128c 100755 --- a/about.pl +++ b/about.pl @@ -873,7 +873,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 {