Use of uninitialized value in string comparison (cmp) at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Search.pm line 536.
Created attachment 183992 [details] [review] Bug 40351: Remove warning from oha/SearchEngine/Elasticsearch/Search.t Use of uninitialized value in string comparison (cmp) at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Search.pm line 536. I think this is the correct fix. We generate a random av category that is used in the data, so $label get undef: 521 $label = $authorised_values{$t};
Created attachment 184028 [details] [review] Bug 40351: Remove warning from oha/SearchEngine/Elasticsearch/Search.t Use of uninitialized value in string comparison (cmp) at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Search.pm line 536. I think this is the correct fix. We generate a random av category that is used in the data, so $label get undef: 521 $label = $authorised_values{$t}; Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Nice work everyone! Pushed to main for 25.11