From f78119e2637d43bea723d3e48c7b295d148e52f1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 16 Nov 2023 08:27:10 +0100 Subject: [PATCH] Bug 35174: Do not explode if po dir does not exist Signed-off-by: Jonathan Druart --- Koha/I18N.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/I18N.pm b/Koha/I18N.pm index 464911cb2d..c0384b87ff 100644 --- a/Koha/I18N.pm +++ b/Koha/I18N.pm @@ -194,7 +194,7 @@ sub _base_directory { my $dir = first { -d } @dirs; unless ($dir) { - die "The PO directory has not been found. There is a problem in your Koha installation."; + warn "The PO directory has not been found. There is a problem in your Koha installation."; } return $dir; -- 2.39.5